convert encode big5 text to utf8
Posted: Wed Oct 24, 2018 3:54 pm
Hi
I want to covert the big5 encode text file into utf8 encode text file.
The attach zip file contain big5.txt and uft8.txt file
I read the big5.txt file and use the following method to convert it into utf8, but cannot display correct chinese character.
on mouseup
answer file "A Text file" //(select the big5.txt file)
put URL("file:" & it) into aval
answer textencode(textdecode(aval, "ansi"), "utf8")
end mouseup
The correct encode file "utf8.txt" will display correctly in Livecode.
Can I use Livecode to convert Big5 encode text into unicode encode text file ?
Regards
Terry Ho
I want to covert the big5 encode text file into utf8 encode text file.
The attach zip file contain big5.txt and uft8.txt file
I read the big5.txt file and use the following method to convert it into utf8, but cannot display correct chinese character.
on mouseup
answer file "A Text file" //(select the big5.txt file)
put URL("file:" & it) into aval
answer textencode(textdecode(aval, "ansi"), "utf8")
end mouseup
The correct encode file "utf8.txt" will display correctly in Livecode.
Can I use Livecode to convert Big5 encode text into unicode encode text file ?
Regards
Terry Ho