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

Corinna Vinschen vinschen@redhat.com
Thu Jun 4 06:38:00 GMT 2009


On Jun  3 15:14, Jeff Johnston wrote:
> Corinna Vinschen wrote:
>> On Jun  4 02:56, IWAMURO Motonori wrote:
>>> 2009/6/3 Corinna Vinschen
>>>> 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.
>>   
> Feel free to commit that when you are done and have tested.

New version tested on Cygwin again.  I applied the patch and
added a ChangeLog entry for Motonori's tweaks.


Corinna

-- 
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat



More information about the Newlib mailing list