PenUltima Online

It is currently Fri Aug 29, 2008 4:44 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Unicode
PostPosted: Wed Dec 26, 2007 10:42 am 
Offline

Joined: Tue Mar 20, 2007 7:17 am
Posts: 99
Location: Poland
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");


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 5:02 am 
Offline

Joined: Thu Feb 02, 2006 8:33 am
Posts: 273
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);


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 27, 2007 7:13 am 
Offline

Joined: Tue Mar 20, 2007 7:17 am
Posts: 99
Location: Poland
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 28, 2007 8:55 am 
Offline

Joined: Thu Feb 02, 2006 8:33 am
Posts: 273
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 :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl