[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; [nxml] BOM and utf-8
From: |
Patrick Drechsler |
Subject: |
Re: 23.0.60; [nxml] BOM and utf-8 |
Date: |
Sun, 18 May 2008 13:00:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Jason Rumney <address@hidden> writes:
> Eli Zaretskii wrote:
>> I'm not sure you are barking the right tree. AFAIK, Microsoft
>> doesn't use UTF-8 at all, they use UTF-16 (where a BOM is generally
>> necessary).
>
> What Miles is talking about is certain Microsoft software (including
> their XML library), which when saving to UTF-8 writes a UTF-8 encoded
> 0xFEFF at the start of the file. Its probably caused by first encoding
> in UTF-16 then transcoding to UTF-8.
This seems to be the problem in my case: A microsoft .NET application
adds the BOM to the xml file which is encoded as utf-8.
Thanks to all for the instructive feedback on this issue!
I second the opinion that it would be nice to have the option to hide
(or remove) the BOM while editing the file in Emacs and reinserting it
(if it was removed) when done editing. Otherwise one is not able to
validate the rest of the xml file using nxml.
Cheers,
Patrick
- Re: 23.0.60; [nxml] BOM and utf-8, (continued)
- Re: 23.0.60; [nxml] BOM and utf-8, tomas, 2008/05/27
- Re: 23.0.60; [nxml] BOM and utf-8, Stephen J. Turnbull, 2008/05/22
- Re: 23.0.60; [nxml] BOM and utf-8, tomas, 2008/05/23
- Re: 23.0.60; [nxml] BOM and utf-8, Stephen J. Turnbull, 2008/05/23
- Re: 23.0.60; [nxml] BOM and utf-8, tomas, 2008/05/27
23.0.60; [nxml] BOM and utf-8, Stephen J. Turnbull, 2008/05/17
- Re: 23.0.60; [nxml] BOM and utf-8, Miles Bader, 2008/05/17
- Re: 23.0.60; [nxml] BOM and utf-8, Eli Zaretskii, 2008/05/17
- Re: 23.0.60; [nxml] BOM and utf-8, Stephen J. Turnbull, 2008/05/18
- Re: 23.0.60; [nxml] BOM and utf-8, Jason Rumney, 2008/05/18
- Re: 23.0.60; [nxml] BOM and utf-8,
Patrick Drechsler <=
- Re: 23.0.60; [nxml] BOM and utf-8, Stephen J. Turnbull, 2008/05/18
- Re: 23.0.60; [nxml] BOM and utf-8, Patrick Drechsler, 2008/05/19
- Re: 23.0.60; [nxml] BOM and utf-8, Eli Zaretskii, 2008/05/19
- Re: 23.0.60; [nxml] BOM and utf-8, Patrick Drechsler, 2008/05/20
Re: 23.0.60; [nxml] BOM and utf-8, joakim, 2008/05/18
Re: 23.0.60; [nxml] BOM and utf-8, Stephen J. Turnbull, 2008/05/18
Re: 23.0.60; [nxml] BOM and utf-8, Miles Bader, 2008/05/18
Re: 23.0.60; [nxml] BOM and utf-8, David Kastrup, 2008/05/18
Re: 23.0.60; [nxml] BOM and utf-8, Stephen J. Turnbull, 2008/05/18
Re: 23.0.60; [nxml] BOM and utf-8, David Kastrup, 2008/05/19