|
![](/i/fill.gif) |
clipka <ano### [at] anonymous org> wrote:
> (2) The editor does not expect a leading BOM in UTF-8; in that case, it
> /must/ treat it according to the Unicode standard, which explicitly
> states that the BOM is actually a perfectly valid normal character,
> which just happens to be one of the many space characters, non-breaking
> in this case, with zero width; so you're perfectly safe here as well,
> unless you accidently strip it from the very beginning of the file.
Does that mean that xFEFF is the zero-width nbsp in both UTF-16 and UTF-8?
Also: If the byte order happened to be the reverse of what the editor
expects (assuming the editor does not support the BOM), wouldn't the
multi-byte characters be garbage then?
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |