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? Is it something that can actually be represented as ASCII?

--
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

Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 6/20/2013 08:07, Ludovic Thébault wrote:
Hello,

I need to get datas from  sqlite (in UTF-8) and convert it in ASCII for 
treatment, but i don't need to put it in a field..
I try unidecode(uniencode(myTXT, "utf8")) and many others solutions with no 
result.

We need to pass by a field ?
with this command : set the unicodetext of field "xxx" to .. ?

Thanks


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

Reply via email to