RSS | Module Info | Add a review of Convert-EastAsianWidth
Convert-EastAsianWidth (1.01)
As of version 1.00, this module no longer depends on Unicode::EastAsianWidth and replaced the internal algorithm to a simple "tr" based substitution:
$input =~ tr/\x{3000}\x{FF01}-\x{FF5E}/ -~/; # to_halfwidth
$input =~ tr/ -~/\x{3000}\x{FF01}-\x{FF5E}/; # to_fullwidth
Many thanks to BKB for suggesting this improvement, and for noting the caveat of unsupported full/half width katakana, which is now duly documented in the module documentation. :-)
Audrey Tang - 2010-11-06T21:09:05 (permalink)
1 out of 1 found this review helpful.
Was this review helpful to you?
Yes
No
Convert-EastAsianWidth (1.02)
Zonked review since no longer relevant.
Ben Bullock - 2008-08-17T20:26:54 (permalink)
2 out of 5 found this review helpful.
Was this review helpful to you?
Yes
No

