Page 1 of 1

Unicode

Posted: Wed Dec 26, 2007 10:42 am
by coltain
I have a little problem using unicode functions (unicode.em)

I want to use Polish language (POL code). But the function doesn`t show anything.

test code:

var txt:= CAscZ("ąćę");
SendSysMessageUC(who, CAscZ(txt), "POL");

Posted: Thu Dec 27, 2007 5:02 am
by Pierce
You use the CAscZ function two times. Perhaps that's the problem.
Try this one:

Code: Select all

var txt:= CAscZ("ąćę"); 
SendSysMessageUC(who, txt, "POL", 3, 32);

Posted: Thu Dec 27, 2007 7:13 am
by coltain
bleh, I posted 2 diffrent part of a script ;p sorry

I use CAscZ once, array comes bad

sendsysmessage(who,"array: ",+CAscZ("ąęć"));

it doesn`t work

Posted: Fri Dec 28, 2007 8:55 am
by Pierce
That leads to a simple question: Does the polish language code POL exist?

If you e.g. look at the clilocs, there is no pol code at least in my installation. There is only CHS, CHT, DEU, ENU, ESP, FRA, JPN and KOR.

Perhaps that's the problem :)