emacs-devel
[Top][All Lists]
Advanced

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

Re: Editing exportet registry files


From: Benjamin Riefenstahl
Subject: Re: Editing exportet registry files
Date: Thu, 07 Jul 2005 23:32:07 +0200
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux)

Hi Gaëtan,

> Benjamin Riefenstahl wrote on 07 Jul 2005 20:56:42 +0200:
>>    (prefer-coding-system 'utf-16le-with-signature)
>>    (prefer-coding-system 'latin-9)

Gaëtan LEURENT writes:
> That would try latin-9 first, and if the file is valid as latin-9
> (which is quite likely), it will fail. [...]

I thought it would not detect a UTF-16 file as Latin-9 because of all
the NUL characters you get when you try to interpret UTF-16 as an
8-bit encoding.

I just did a test and sadly, detection of Latin-9 seems to like those
NUL characters fine, even though nobody would ever write such a file.
Pity.

benny





reply via email to

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