Hello!
After the following:

(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. Strangely enough, the
following works:

(decode-coding-string "\344\344" 'undecided)
=> "ää"

This is the case on an Emacs from CVS as of 2006-08-15.

Regards,
        -- Jorgen

-- 
((email . "[EMAIL PROTECTED]") (www . "http://www.forcix.cx/";)
 (gpg   . "1024D/028AF63C")   (irc . "nick forcer on IRCnet"))


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to