![]() Do not use a text editor - the BOM is a non-display char. Use a binary hex dump to view the text file bytes to determine whether you have a BOM or not. Some document writers will write the BOM for you, or have an option to include or exclude the BOM. ![]() This BOM can also be used to distinguish ASCII text from UTF-8 and other Unicode encodings (because the UTF-8 BOM byte sequence is different from UTF-16, etc). The BOM character is a reserved non-printing character in the Unicode character tables. The Byte Order Mark tells the document reader whether the characters in the document are ordered as big-endian or little-endian. ![]() For UTF-16 little-endian (Intel), the BOM would be bytes 0xFF, 0xFE. csv) as containing Unicode text, you need to write a Byte Order Mark (BOM) as the first character in the text file. You need to do two things: mark the text file (or html page) as containing Unicode chars (either UTF-8 or UTF-16), and make sure that you are using a text editor that supports Unicode text.
0 Comments
Leave a Reply. |