In article <[EMAIL PROTECTED]>, Eli Zaretskii <[EMAIL PROTECTED]> writes:

>> From: Aidan Kehoe <[EMAIL PROTECTED]>
>> Date: Sun, 18 Jun 2006 18:11:06 +0200
>> Cc: [email protected], [email protected]
>> 
>> > Coding systems already replace unsupported characters with `?'  (other
>> > applications behave like that as well), so perhaps we should use some
>> > more conventional character here.
>> > Does anyone have an opinion?
>> 
>> Perhaps, indeed.

> Handa-san, could you please comment on this issue?

At first, coding system (utf-8) doesn't replace unsupported
characters with '?' on decoding.  It preserves the original
byte sequence and attaches a special text property to
display it the Unicode replacement character U+FFFD.

But, as we can't do that in read_escape, I propose to simply
signal an error as unsupported character.  I think anything
else leads to unexpected behavior.

---
Kenichi Handa
[EMAIL PROTECTED]


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

Reply via email to