'encode-coding-region' broken in UTF-8

Mike FABIAN mfabian at suse.de
Fri Feb 13 12:25:57 EST 2004


Mike FABIAN <mfabian at suse.de> さんは書きました:

> This causes problems for example when sending UTF-8 encoded mail from
> XEmacs with Gnus.
>
> A small lisp file to reproduce the problem
> (bug-encode-coding-region.el) is attached.
>
> To reproduce the bug, save the attached bug-encode-coding-region.el
> and call:
>
> xemacs -q -batch -eval "(require 'un-define)" -l bug-encode-coding-region.el
>
> Then have a look at the file /tmp/utf-8-output which has been
> created while executing the above command.
> The file should contain 1000 times the character あ
> (U+3042 HIRAGANA LETTER A). But there are several places where the correct
> character has been replaced by  U+FFFD REPLACEMENT CHARACTER.

This problem happens with XEmacs 21.4.15 but *not* with
XEmacs 21.5.16.

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。



More information about the XEmacs-Beta mailing list