Done via the new `erc-coding-system-precedence' variable.
Attach a file by drag & drop or click to upload