I am getting "wide character in print" messages when I run this script. There is no wide character in the data
Maybe not in the data you get from the database, but surely in the data you print. You find it with something like
binmode STDOUT, ':encoding(UTF-8)'; print $str =~ /([^\0-\177]+)/g, "\n";
There are lots of things that can turn ASCII-Data into non-ASCII data, including Encode::decode, JSON decoding and chr.
In reply to Re: Wide Character in Print Warning
by moritz
in thread Wide Character in Print Warning
by nmork
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |