all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* severe problems with composite characters
@ 2003-09-17  5:45 Werner LEMBERG
  2003-09-17  6:49 ` Kenichi Handa
  0 siblings, 1 reply; 6+ messages in thread
From: Werner LEMBERG @ 2003-09-17  5:45 UTC (permalink / raw)
  Cc: kazu


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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-09-30 11:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-17  5:45 severe problems with composite characters Werner LEMBERG
2003-09-17  6:49 ` Kenichi Handa
2003-09-18  9:24   ` Dave Love
2003-09-30 11:22     ` Kenichi Handa
2003-09-19  8:37   ` Kazu Yamamoto
2003-09-19 11:06     ` Kenichi Handa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.