erc-encode-coding-string

erc-encode-coding-string is a compiled Lisp function in `erc-compat.el'.

(erc-encode-coding-string S CODING-SYSTEM)

Encode S using CODING-SYSTEM.
Return the same string, if the encoding operation is trivial.
See `erc-encoding-coding-alist'.