Decode UTF-8 in variable ?

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Jun 20 14:16:13 CEST 2013


hi Ludovic,

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?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

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? 
> 
> 
> Thanks,
> 
> With an other computer (and a similar but different database) it's work. So i think the problem is in my database.
> 
> Ludovic





More information about the use-livecode mailing list