How To Begin With A Bom When Using The Phonegap Filewriter
I try to write a *.csv file with the PhoneGap FileWriter. It works fine and the output is correct formated in UTF-8. The problem is that some reader like Excel expect a BOM (byte-o
Solution 1:
Solution 2:
I start with
writer.write("\uFEFF");
It's documented here: http://www.ecma-international.org/ecma-262/5.1/
It works!
Post a Comment for "How To Begin With A Bom When Using The Phonegap Filewriter"