Decode UTF-8 in variable ?
m.schonewille at economy-x-talk.com
Thu Jun 20 10:55:12 CEST 2013
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?
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
Buy my new book "Programming LiveCode for the Real Beginner"
Fill out this survey please
On 6/20/2013 08:07, Ludovic Thébault wrote:
> 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 .. ?
More information about the use-livecode