Of course, this breaks when there are characters which are not in the us-ascii character set. Perhaps you want to translate into utf-8 instead?use open IN => ':encoding(utf-16)', OUT => ':encoding(us-ascii)'; print while <>;
In reply to Re: Decoding UTF-16 to ASCII
by Anonymous Monk
in thread Decoding UTF-16 to ASCII
by dbrock
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |