Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
utf-8 keys in a tied hash cause warningby saintmike (Vicar) |
on Aug 03, 2006 at 21:10 UTC ( [id://565560]=perlquestion: print w/replies, xml ) | Need Help?? |
saintmike has asked for the wisdom of the Perl Monks concerning the following question:
I'm puzzled that hashes tied via dbmopen apparently don't like utf-8 encoded keys:
prints Wide character in null operation at ./test.pl line 8.As checked with Encode::is_utf8, the string in $utf8key has the utf8 flag on. Is this a bug in the dbm implementation or am I just confused? It happens with perl5.8.8 and perl5.9.3. Thanks for any help.
Back to
Seekers of Perl Wisdom
|
|