[PATCH] Also treat "East Asian Ambiguous" characters as full-width

Dirkjan Ochtman dirkjan at ochtman.nl
Thu Nov 5 04:55:34 CST 2009


On Fri, Oct 30, 2009 at 03:46, Shun-ichi Goto <shunichi.goto at gmail.com> wrote:
> # HG changeset patch
> # User Shun-ichi GOTO <shunichi.goto at gmail.com>
> # Date 1256870784 -32400
> # Node ID ba57125215c3a2adc760e98668e523a13f647dac
> # Parent  3c30ae2d6f1bc0b74c87ea46b695e59485f79414
> Also treat "East Asian Ambiguous" characters as full-width.
>
> "East Asian Ambiguous" characters like 'GREEK SMALL LETTER BETA'
> (U+03B2) or 'MULTIPLICATION SIGN' (U+00D7) should be counted as
> full-width because it depends on the context.
>
> See also:
>  "Unicode Standard Annex #11 - East Asian Width"
>  http://www.unicode.org/reports/tr11/tr11-14.html#Ambiguous

This seems reasonable, but it also breaks things for western users,
see test-encoding, so it doesn't seem like the best solution.

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list