[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Decoding 'undecided has problems with a single byte string?
From: |
Jorgen Schaefer |
Subject: |
Re: Decoding 'undecided has problems with a single byte string? |
Date: |
Tue, 15 Aug 2006 05:37:55 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Kenichi Handa <address@hidden> writes:
> In article <address@hidden>, Jorgen Schaefer <address@hidden> writes:
>
>> (prefer-coding-system 'latin-1)
>> (prefer-coding-system 'utf-8)
>
>> I'd expect the following code to return "รค", as \344 is invalid
>> utf-8, but is the latin-1 code for LATIN SMALL LETTER A WITH
>> DIAERESIS:
>
>> (decode-coding-string "\344" 'undecided)
>
>> Instead, it returns the empty string.
>
> Thank you for the bug report. I've just committed a fix.
> Please try again with the latest CVS code.
Yes, that fixes the problem.
Thank you very much - this was a VERY fast bug fix!
Regards,
-- Jorgen
--
((email . "address@hidden") (www . "http://www.forcix.cx/")
(gpg . "1024D/028AF63C") (irc . "nick forcer on IRCnet"))