To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

Charset: Difference between revisions

From ZNC
Jump to navigation Jump to search
DarthGandalf moved page Charset to Charset/old: Charset is very different now
 
No edit summary
Line 1: Line 1:
#REDIRECT [[Charset/old]]
ZNC supports character encodings in core since [[ChangeLog/1.6.0|1.6.0]]. If you want to look at earlier "charset" module, it's [[Charset/old|here]].
 
= Prerequisites =
[http://site.icu-project.org/ ICU library] does the actual conversion. If it's available, <code>./configure</code> will find it.
 
= Usage =
[[Image:Charset2.png|frame]]
[[Image:Charset1.png|frame]]
ZNC internally uses UTF-8. You can configure charset used between clients and ZNC, and charset used between ZNC and server.
 
If one of "Try UTF-8 and ___" options is selected, when ZNC receives a line from socket (either client, or server), at first it checks whether it's valid UTF-8, or not. If it's not, the fallback charset is used to decode the line.
 
GUI is available in [[webadmin]], in User page, and in IRC network page.
Also [[controlpanel]] module can be used.

Revision as of 22:13, 24 December 2014

ZNC supports character encodings in core since 1.6.0. If you want to look at earlier "charset" module, it's here.

Prerequisites

ICU library does the actual conversion. If it's available, ./configure will find it.

Usage

ZNC internally uses UTF-8. You can configure charset used between clients and ZNC, and charset used between ZNC and server.

If one of "Try UTF-8 and ___" options is selected, when ZNC receives a line from socket (either client, or server), at first it checks whether it's valid UTF-8, or not. If it's not, the fallback charset is used to decode the line.

GUI is available in webadmin, in User page, and in IRC network page. Also controlpanel module can be used.