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

  I'm sorry my patch was against a year-old UTF-8 charmap. In addition,
it didn't include a patch for GB18030 map. Below is a patch addressing
both problems.

  Thank you,

  Jungshik Shin

2002-05-06  Jungshik Shin <jshin@mailaps.org>

        * localedata/charmaps/UTF-8: fix wcwidth for Hangul Conjoining
          medial vowels and trailing consonant
        * localedata/charmaps/GB18030: Likewise


--- localedata/charmaps/UTF-8.old	20 Apr 2002 07:22:18 -0000	1.8
+++ localedata/charmaps/UTF-8	6 May 2002 05:09:34 -0000
@@ -28383,6 +28383,7 @@
 <U1039>			0
 <U1058>...<U1059>	0
 <U1100>...<U115F>	2
+<U1160>...<U11FF>	0
 <U1712>...<U1714>	0
 <U1732>...<U1734>	0
 <U1752>...<U1753>	0
--- localedata/charmaps/GB18030.old	24 Apr 2002 21:41:45 -0000	1.12
+++ localedata/charmaps/GB18030	6 May 2002 05:15:17 -0000
@@ -76418,6 +76418,8 @@
 <U1039>                   0
 <U1058>...<U1059>         0
 <U1100>...<U115F>         2
+<U1160>...<U11A2>         0
+<U11A8>...<U11F9>         0
 <U1712>...<U1714>         0
 <U1732>...<U1734>         0
 <U1752>...<U1753>         0


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