emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Unicode Lisp reader escapes.


From: Kenichi Handa
Subject: Re: [PATCH] Unicode Lisp reader escapes.
Date: Tue, 20 Jun 2006 11:37:25 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Eli Zaretskii <address@hidden> writes:

>> From: Aidan Kehoe <address@hidden>
>> Date: Sun, 18 Jun 2006 18:11:06 +0200
>> Cc: address@hidden, address@hidden
>> 
>> > 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
address@hidden




reply via email to

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