PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Unicode

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Scripting Help
Display posts from previous:   

Author Message
coltain



Joined: 20 Mar 2007
Posts: 96
Location: Poland

PostPosted: Wed Dec 26, 2007 2:42 pm    Post subject: Unicode Reply with quote

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");

Author Message
Pierce



Joined: 02 Feb 2006
Posts: 256

PostPosted: Thu Dec 27, 2007 9:02 am    Post subject: Reply with quote

You use the CAscZ function two times. Perhaps that's the problem.
Try this one:
Code:

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

Author Message
coltain



Joined: 20 Mar 2007
Posts: 96
Location: Poland

PostPosted: Thu Dec 27, 2007 11:13 am    Post subject: Reply with quote

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

Author Message
Pierce



Joined: 02 Feb 2006
Posts: 256

PostPosted: Fri Dec 28, 2007 12:55 pm    Post subject: Reply with quote

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 Smile

Post new topic   Reply to topic    PenUltima Online Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty