Game Development Community

How to make code support unicode?

by Jari · in Torque Game Engine · 04/25/2006 (4:19 am) · 3 replies

Hello,
I'm new to programming unicode support code and I have a IRC class in TGE 1.4 which should now be modified to support unicode. I understand that this might be difficult question to answer but as I said I don't know much about unicode (merely the reason behind it) and would appreciate any tips on this matter.

Thank you.

Jari.

#1
04/25/2006 (11:06 am)
Unicode is already coded in so im not sure on the question
#2
04/26/2006 (2:49 am)
Thanks for the reply James,
all I know is that after compiling the IRC class with unicode support the message parsing has not worked properly.

For example there's some odd chars in this test output:

NICK: reenode-connect  COMMAND: PRIVMSG  PARAMS: unknownone :VERSION

  PREFIX: freenode-connect!freenode@freenode/bot/connect

well not all of the oddities show up in this forum post but maybe you'll get the idea...
#3
04/27/2006 (1:57 am)
It looks like the IRC works after all without modifications, I could be wrong though because I dont know if IRC protocol supports UTF-16. But this is not an TGE related question so I just look for the info from elsewhere.

Thanks!