|
Inigo Bosch
Registered User
Join date: 31 Jan 2007
Posts: 1
|
05-02-2007 06:59
hello!
i'm using the "llSetText" command to make floating texts; but i'm writing texts in french and spanish, so i need accentuations. the command "llSetText" does not accept, for example "mangé", so i have to write "mange", without any accent. Is there a way to accentuate word with that command?
thanks!
|
|
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
|
05-02-2007 07:27
Write your accented characters using UTF-8 in the code, then use llUnescapeURL to get the proper string. You can use the java applet at the bottom of this page to encode the text. (Select UTF-8 in the Character Encoding: box) Your example becomes "mang%C3%A9"
|
|
Chaz Longstaff
Registered User
Join date: 11 Oct 2006
Posts: 685
|
Accents in SL
05-07-2007 15:34
That's hysterical, Deann! No, I believe you, and it's a great workaround.
It's just hysterical that the people who set all this up in the first place in California didn't realize there were languages in the world other than English -- so that SL can't natively handle basic accents in French, German, Italian, Spanish, etc. I mean, it's just so *basic*.
|
|
Deanna Trollop
BZ Enterprises
Join date: 30 Jan 2006
Posts: 671
|
05-07-2007 15:45
From: Chaz Longstaff SL can't natively handle basic accents in French, German, Italian, Spanish, etc. SL handles them just fine. (The group tag I most commonly wear in-world is ÜmÏäüt-Äbüsër) The only problem is that the LSL compiler doesn't recognize unicode characters when entered directly into a script.
|
|
RJ Source
Green Sky Labs
Join date: 10 Jan 2007
Posts: 272
|
05-07-2007 18:53
From: Deanna Trollop SL handles them just fine. (The group tag I most commonly wear in-world is ÜmÏäüt-Äbüsër) The only problem is that the LSL compiler doesn't recognize unicode characters when entered directly into a script. It also doesn't recognize them when a script reads them from a notecard. You still need to use the above unescape method.
|
|
Simil Miles
Creator
Join date: 1 Mar 2007
Posts: 300
|
05-08-2007 07:33
_____________________
UnConWTech @ Flo (144, 84, 224) http://unconwtech.free.fr
SL books http://astore.amazon.com/secondlife-sl-20/
Need a beta tester for quality assurance ? Need a translator for English, French, Spanish ?
|