Code review comment for lp:~mandel/ubuntuone-windows-installer/fix_xml_warnings_3

Revision history for this message
Manuel de la Peña (mandel) wrote :

He, stupid windows, those funny things are there because the encoding is UTF8 with a BOM.

From unicode.org:

A byte order mark (BOM) consists of the character code U+FEFF at the beginning of a data stream, where it can be used as a signature defining the byte order and encoding form, primarily of unmarked plaintext files. Under some higher level protocols, use of a BOM may be mandatory (or prohibited) in the Unicode data stream defined in that protocol.

I've been using VS set to Auto-detect UTF8 encoding without a signature so I have really no clue of what the hell is the BOM doing there. I wonder what happens if I remove it, will it be added again?

I'll check WTF is windows doing.

« Back to merge proposal