Writing to file in utf-8
jbv at souslelogo.com
jbv at souslelogo.com
Wed Sep 3 07:28:06 EDT 2014
Hi list
I have a script that accumulates successive strings into a file.
Each string comes from utf-8 text files and contains french
characters with accents like "é à ô".
After processing in the script, those strings get accumulated
in other txt files. I need these second serie of files to be in
utf-8 format too.
So I use the following code (found in this LC lesson :
http://lessons.runrev.com/m/4071/l/20441-unicode )
put (unidecode(it,"utf8") & return) after url tPath
but when I open the file tPath in a text editor, everything is
replaced by chinese chars...
What am I missing ?
Thanks in advance.
jbv
More information about the use-livecode
mailing list