[PATCH/RFA] Add CJK ambiguous character handling dependent on language

Corinna Vinschen vinschen@redhat.com
Wed Jun 3 19:33:00 GMT 2009


On Jun  4 02:56, IWAMURO Motonori wrote:
> 2009/6/3 Corinna Vinschen <vinschen@redhat.com>:
> > Hi,
> >
> > as discussed three weeks ago, I'll now propose the following patch.  It
> > changes __wcwidth along the lines of Markus Kuhn's code and Iwamuro
> > Motonori's proposal to use the language set via setlocale(1) to return
> > different character widths for the CJK Ambiguous Width" category of
> > characters.  Tested on Cygwin.
> >
> > Ok to apply?
> 
> It looks good.
> But I don't think that the test order is good for the performance.
> How about the following code?

Good idea.  I'll change that in my local patch accordingly.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list