Decode UTF-8 in variable ?
m.schonewille at economy-x-talk.com
Thu Jun 20 14:16:13 CEST 2013
Maybe the database isn't UTF8 encoded. What is the operating system of the computer on which it works an what is the OS of the computer on which it doesn't work?
Economy-x-Talk Consulting and Software Engineering
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
We have time for new software development projects. Contact me for a quote.
On 20 jun 2013, at 14:13, Ludovic Thébault wrote:
> Le 20 juin 2013 à 10:55, Mark Schonewille a écrit :
>> Hi Ludovic,
>> You don't need to set the text to a unicode string to be able to use it. What you are doing seems correct, although you don't say if you're storing the value returned in a variable:
>> put uniDecode(uniEncode(myTxt,"UTF8")) into myAscii
>> This should work. What is the source of the text?
> With an other computer (and a similar but different database) it's work. So i think the problem is in my database.
More information about the use-livecode