Unicode

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am

Unicode

Post 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");
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post 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);
coltain
Grandmaster Poster
Posts: 159
Joined: Tue Mar 20, 2007 7:17 am

Post 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
Pierce
Forum Regular
Posts: 420
Joined: Thu Feb 02, 2006 8:33 am

Post 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 :)
Post Reply