[sword-devel] conf utf-8
Chris Little
chrislit at crosswire.org
Mon Feb 14 01:05:43 MST 2005
Troy A. Griffitts wrote:
> My guess about the characters which keep the .conf file from being
> recognized... try adding a few newlines to the beginning of the file. I
> would guess that XXX[Section Name] at the beginning is just causing our
> .conf reader to not recognize the "Section Name".
The three characters are the Unicode byte-order mark (BOM). See
http://www.unicode.org/faq/utf_bom.html#BOM for full details. But,
basically, it's the codepoint U+FEFF, encoded at the beginning of a
file. From this character, you can tell whether you have UTF-16
big-endian, UTF-16 little-endian, or UTF-8.
I would recommend we go ahead and support it (to the extent that we
check for it and throw it away) since it's not something that just
notepad adds to file. (No need to fix before the trip, though, I think.)
--Chris
More information about the sword-devel
mailing list