Use a BOM to identify Unicode source files

new topic     » topic index » view thread      » older message » newer message

In the recent Wiki article about Unicode plans source files may be confused with early shrouded output. If a Unicode source file was required to begin with a Unicode Byte Order Mark (BOM), could this ever look like the beginning of a shrouded file?

Files with a BOM at the front would begin:

  1. EF,#BB,#BF if coded in UTF-8, probably the prefered encoding
  2. FE,#FF if coded in UTF-16 big-endian
  3. FF,#FE if coded in UTF-16 little-endian
new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu