|
|
|
[
Permlink
| « Hide
]
Zi Ree added a comment - 09/Apr/07 11:47 PM
It also works fine on my Linux viewer but fails on the windows box I have access to.
Yep, can't get the script to compile.
This is actually an improvement over the end of 2005, when you couldn't even get the characters to display except as boxes in a script, yet they would display fine in chat, email, just about anywhere else you could think of. It appears there's a problem in the editor's ability to process/hand over unicode characters to the compiler. This may be deliberate as the font the script editor uses it not the same as the other parts of the viewer, and has only a limited number of glyphs in it.
An ugly work-around is to use URL escaping to get the characters into the script. This line: llOwnerSay(llUnescapeURL("%E2%80%90%E2%80%93%E2%80%94%E2%80%97%E2%80%98%E2%80%99%E2%80%9A%E2%80%9C%E2%80%9D%E2%80%9E%E2%80%A0%E2%80%A1%E2%80%A2%E2%80%A6%E2%80%B0%E2%80%B9%E2%80%BA%E2%82%AC%E2%84%A2")); will display a bunch of unicode glyphs from the en-dash to the TradeMark symbol. The problems with this work around, are the space it takes up in your script, and you have to know the character encoding in utf-8, which I'm guessing most people don't. This seems to work in the viewers I build. I didn't do anything to fix it, maybe it just depends on the version of Cygwin tool used to create the LSL compiler. I noticed that Linden's official 1.18.5.3 viewer handles these non Latin 1 characters properly even on Windows. I tested it on Windows XP SP2.
Can anybody else confirm it? Fixed in 1.20. This only needed a flex upgrade.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||