emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coding tags and utf-16


From: Benjamin Riefenstahl
Subject: Re: coding tags and utf-16
Date: Sat, 04 Mar 2006 21:34:37 +0100
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux)

Hi,

Kenichi Handa writes:
>> ("\\`\xEF\xBB\xBF" . utf-8)
>
> As far as I know, UTF-8 should not start with this sequence unless
> the text really starts with ZWNBSP (very unlikely).

UTF-8 can start with a BOM.  See
<http://www.unicode.org/faq/utf_bom.html#29>.

>> ("\\`\xFE\xFF" . utf-16-be)
>> ("\\`\xFF\xFE" . utf-16-le)
>
> Although it's not clear how safe they are, if no one objects,
> I'll add them in auto-coding-regexp-alist.

Shouldn't those be utf-16-[bl]e-with-signature?  Or has the naming
convention changed?

benny





reply via email to

[Prev in Thread] Current Thread [Next in Thread]