On Feb 29, 2008, at 1:04 PM, GIRARD Damien wrote:

I want to store texts in UTF8.
But, I have a problem, when I do that function: unidecode(uniencode("eéàèe"),UTF8), all accented characters diseapear.
If I let them as UTF16, this work, accented characters are returned.

It is a Runrev bug ? or maybe I did something wrong ?

Hi Damien,

Are you sure the accented characters are disappearing or do they just appear as junk in the rev message box (or field)? I ask because once you encode to UTF8 you can't necessarily display the text in Rev accurately. What happens if you first encode the text as UTF8 and then decode to UTF16 and assign it to the unicodeText property of a field?

put unidecode(uniencode("eéàèe"),UTF8) into theUTF8Text
set the unicodeText of field 1 to uniencode(theUTF8Text, "UTF8")

Do the characters look right then?

Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to