This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Hangul Jamo width fix


On Sat, 4 May 2002, Jungshik Shin wrote:

>   Here's a simple one-line patch(?) to fix the wcwidth() of Hangul
> medial vowels and trailing consonants. Currently, it's set to
> the default value of 1, but they should be given zero width
> because they behave like non-spacing combining characters
> following leading consonants (acting as base characters).

  To further back-up my proposed patch, I found another implementation
that does exactly the same thing as I'm proposing. u_charCellWidth()
in ICU returns U_ZERO_WIDTH for Hangul medial vowels and trailing
consonants while returning U_FULL_WIDTH for Hangul leading consonants.
(ref. <http://oss.software.ibm.com/icu/apiref/uchar_8h.html#a360>)

  Jungshik Shin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]