http://www.perlmonks.org?node_id=995061


in reply to I'm having a lot of trouble getting UTF-8 output via Perl/DBI on OS X

Hello.

Redirect it's output to file and see it with Browser. And set encoding of your browser to UTF-8. And What do you see?

I see nothing wrong with your perl script, get UTF-8 encoded bytes from db and print encoded bytes...What is this?

updated:

Sorry. maybe I was looking for wrong direction.
If you do 'set Names', how does it look like?

$dbh->do("SET NAMES 'utf8'");
regards