Page 1 of 1

allowed-nickchars seems to not be working

Posted: Thu Dec 08, 2016 12:30 pm
by fdmfdm
set { allowed-nickchars { windows-1251; }; };

with that in my unrealircd.conf file i tried changing my name to я but it gave me the usualy response for the use of invalid characters.
did I do something wrong or is this a bug?

Re: allowed-nickchars seems to not be working

Posted: Fri Dec 09, 2016 11:56 am
by Syzop
Could it be that you're not using windows codepage 1251, but one of the other codepages, or utf8? That would explain.

Re: allowed-nickchars seems to not be working

Posted: Mon Dec 12, 2016 9:35 am
by fdmfdm
I tried copying the symbols from several sites, including http://www.science.co.il/Language/Chara ... ?page=1251 who specificly sets the charset to windows-1251 so it should not be the symbols

I also tried
set {
allowed-nickchars { latin1; };
};
and writing ÆØØÆ as name, which gave me the same issue,
(that was just using the keyboard with danish as the language on windows 8.1)

every language i tried gave me the same result (and rehashing or restarting does not change the results either)

Re: allowed-nickchars seems to not be working

Posted: Mon Dec 12, 2016 11:28 am
by Syzop
It's likely your IRC client. For example in mIRC there is in mIRC options (ALT + O): IRC -> Messages -> [x] UTF-8 encode/decode messages. If you have it checked ([x]) then it will not work, if you uncheck it ([ ]) then you can use your ÆØØÆ example.

Similar UTF8 settings are in other IRC clients (and putty and...).

PS: Note that I'm not saying UTF8 is bad. Just that it's not supported in UnrealIRCd international nick names at the moment and many IRC clients "silently" convert stuff to UTF8.