[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: |
David Kastrup |
Subject: |
Re: 23.0.60; [nxml] BOM and utf-8 |
Date: |
Sun, 18 May 2008 11:14:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
"Stephen J. Turnbull" <address@hidden> writes:
> So pop up a warning to the effect that the BOM was stripped per the
> Unicode standard, and that if it needs to be preserved, set
> UNICODE_ME_SOFTLY in the environment or bind `unicode-me-softly'
> around the codec.
It would be sufficient to use an encoding variation which adds the bom
back on writing.
I am actually surprised that this is not done right now: I thought we
had a discussion about having the BOM-encodings early in the automatic
encoding detections.
> Alternatively, sabotage the Microsoft users by silently eating the BOM
> on the way in, and writing the file in GNU substandard[1] format on
> the way out.
Emacs developers are not nonchalant about having Emacs write a byte
sequence differing from what it read in (apart from where it can't help
it, like with non-canonically encoded valid texts in shift character
based encodings) in my impression, and it is one of the better features.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: 23.0.60; [nxml] BOM and utf-8, (continued)
- 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, 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, 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 <=
- 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
- Re: 23.0.60; [nxml] BOM and utf-8, Stephen J. Turnbull, 2008/05/19
- Re: 23.0.60; [nxml] BOM and utf-8, David Kastrup, 2008/05/19
- Re: 23.0.60; [nxml] BOM and utf-8, Stephen J. Turnbull, 2008/05/19
- Re: 23.0.60; [nxml] BOM and utf-8, David Kastrup, 2008/05/20
- Re: 23.0.60; [nxml] BOM and utf-8, Kenichi Handa, 2008/05/29
- Re: 23.0.60; [nxml] BOM and utf-8, Miles Bader, 2008/05/29
- Re: 23.0.60; [nxml] BOM and utf-8, Kenichi Handa, 2008/05/30
- Re: 23.0.60; [nxml] BOM and utf-8, Lennart Borgman (gmail), 2008/05/19