Convert-EastAsianWidth reviews

RSS | Module Info

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. :-)

Convert-EastAsianWidth (1.02)

Zonked review since no longer relevant.