| CPAN Ratings (Gamma) Convert-EastAsianWidth reviews | |
| Home | Search | About | Login |
RSS | Module Info | Add a review of Convert-EastAsianWidth
2 out of 5 found this review helpful:
As the module stands, it doesn't do what it claims to do. The parts of the module which work are the ones concerning full/halfwidth ascii and punctuation characters.
Guess what though? You can just use tr/// to convert full/halfwidth ascii, as follows:
$input =~ tr/\x{3000}\x{FF01}-\x{FF5E}/ -~/;
$input =~ tr/ -~/\x{3000}\x{FF01}-\x{FF5E}/;
The same method will work for punctuation characters too, and I think it's much quicker than this module's method of going via "charnames".
However, the conversion of full/half width katakana is a slightly more complicated problem because of the need to incorporate diacritics, and this module unfortunately doesn't handle that problem at all.
BKB - 2008-08-17 20:26:54
Was this review helpful to you?
Yes
No
|
|
|