emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: revert-buffer-with-coding-system fails to work for CP1250


From: Kenichi Handa
Subject: Re: revert-buffer-with-coding-system fails to work for CP1250
Date: Tue, 07 Nov 2006 20:07:30 +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>, Peter Dyballa <address@hidden> writes:

> > Ok, as in your operation above, revert-buffer is not used.
> > So the reason you can't see Thai characters by visiting with
> > coding system iso-8859-11 is not the problem of
> > revert-bufffer.  Perhaps, your iso10646-1 font doesn't
> > contain Thai glyphs.

> It can't be a problem of the font or fontset used, because it works  
> with the TIS620 file fine!

It seems that you have not yet understood what I wrote (I'll
quote it here):

> Coding systems defined in code-pages decode non-ASCII
> characters into charsets mule-unicode-xxxx-yyyy (including
> Thai characters).  But, tis620 decodes Thai characters into
> the charset thai-tis620.

As iso-8859-11 is defined in code-pages.el, it decodes byte
sequences into characters of the charset
mule-unicode-0100-24ff, and to display them, an iso10646-1
font is used (by default).  On the other hand, as
thai-tis620 decodes byte seuquences into characters of the
charset thai-tis620, an TIS620 font is used for them.

Try C-u C-x = on an empty box in a buffer decoded by
iso-8859-11 and on the corresponding Thai character in a
buffer decoded by thai-tis620.

---
Kenichi Handa
address@hidden




reply via email to

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