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

Re: utf8 support for xchat 1.9?



On Wed, 27 Mar 2002 23:28:21 -0500
"butterbrain" <bbrain@phateds.nu> wrote:

> 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.

Well UTF8 is not being used on IRC. I wasn't intending on stripping the
non-ascii characters, but converting them to latin-1. This is the only
way to make it work correctly with current clients. An option to send/recv
in utf8 might be an idea, but I'd leave that off by default.

-- 
Peter Zelezny. <zed@xchat.org>
--
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/xchat-discuss/