You should pass {mysql_enable_utf8 => 1} to the constructor, and decode the output before writing to utftest2.txt: open TST, '>:encoding(UTF-8)', 'utftest2.txt';
See also: A UTF8 round trip with MySQL, which explains all the details and contains a worked example.
In reply to Re: utf-8 problems
by moritz
in thread utf-8 problems
by Sly_G
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |