Hi All,
I have been asked to export some data from my system into a cvs file with UTF8 w BOM Encodeing.
I have read a stack on uniencode and have I currently have it exporting with UTF8 but it does not have the BOM encoding.
Can anyone help me with this issue?
Thanks, Jack
Encoding cvs file with UTF8 with BOM
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Encoding cvs file with UTF8 with BOM
BOM for UTF-8 are three byte: EF BB BF
EE = 238
BB = 187
BF = 191
so just:
EE = 238
BB = 187
BF = 191
so just:
Code: Select all
put numtoByte(238) & numtoByte(187) & numtoByte(191) before myText
put mytext into URL "binfile:./mytext.txt"
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w