emacs-devel
[Top][All Lists]
Advanced

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

severe problems with composite characters


From: Werner LEMBERG
Subject: severe problems with composite characters
Date: Wed, 17 Sep 2003 07:45:37 +0200 (CEST)

Kazu Yamamoto has reported the following two problems in the end of
July on the emacs-pretest-bug list which I repeat here so that more
people are reading his messages -- there were no replies.  AFAIK, they
are still valid with the current CVS.  Both problems are serious and
affect rendering of Thai at least in the mew mailing program.


    Werner

======================================================================

string-width() returns a wrong number if its argument string
has composite characters.

Consider two bytes strings 0xcd 0xeb, whose width is one since they
are composed.

On Emacs 20.7 string-width() returns 1.
On Emacs 21.3.50 string-width() returns 2.

======================================================================

Suppose that composite characters are stored to a file with a
multi-lingual coding-system. An example is TIS-620 characters with
UTF-8 (or ctext).

When Emacs reads the file, the composite characters are not composed
since there is no post-conv function associated to the multi-lingual
coding-system.

Is this a bug?





reply via email to

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