XEmacs cannot display U+FFFD (REPLACEMENT CHARACTER) correctly
Mike FABIAN
mfabian at suse.de
Tue Jul 24 11:51:19 EDT 2007
Aidan Kehoe <kehoea at parhasard.net> さんは書きました:
> Ar an fichiú lá de mí Iúil, scríobh Mike FABIAN:
>
> > XEmacs 21.5.x cannot display U+FFFD correctly. In "normal" text files, a
> > wrong glyph is shown, in web-pages viewed with w3m.el only garbage
> > Chinese characters are shown after the first occurence of U+FFFD.
[...]
> > and the reason for this seems to be that BIG5.TXT in the XEmacs sources
> > (which comes originally from Unicode.org) maps several Big5 characters to
> > U+FFFD.
>
> Okay, for the sake of round-trip compatibility (especially with a future
> Unicode-oriented XEmacs), we should map those 7 characters either to a
> private-use area (and one outside of the BMP) or an area outside of
> Unicode. Do you have any objections to the following mapping?
>
> 0xA15A => U+FA15A
> 0xA1C3 => U+FA1C3
> 0xA1C5 => U+FA1C5
> 0xA1FE => U+FA1FE
> 0xA240 => U+FA240
> 0xA2CC => U+FA2CC
> 0xA2CE => U+FA2CE
Looks fine.
To make sure that this really works I tried the attached patch
and it does work indeed.
--
Mike FABIAN <mfabian at suse.de> http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。
I � Unicode
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugzilla-293109-w3m-el-under-xemacs-cannot-display-utf-8-encoded-web-pages-containing-fffd.patch
Type: text/x-patch
Size: 1901 bytes
Desc: not available
Url : http://lists.xemacs.org/pipermail/xemacs-beta/attachments/20070724/89e7bb0e/bugzilla-293109-w3m-el-under-xemacs-cannot-display-utf-8-encoded-web-pages-containing-fffd.bin
More information about the XEmacs-Beta
mailing list