[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: utf8 support for xchat 1.9?



IRC does not define a character set. the command names all happen to be strings of printable ascii, which are of course also UTF-8 strings, since UTF-8 has printable ascii as a subset. there are restrictions on labels such as nicknames and channel names, but all of the other text such as PRIVMSG's (excepting CTCP), as well as MOTD's and TOPIC's have no restriction other than NUL and CRLF. better to just pass on the native UTF-8 strings than to strip them of non-ascii characters. this way you still are compatible with ascii users, as well as anyone else using UTF-8. of course, not many people use UTF-8 natively, so providing conversion tables for character sets other than ascii may be useful still.

--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/