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?
regards$dbh->do("SET NAMES 'utf8'");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: I'm having a lot of trouble getting UTF-8 output via Perl/DBI on OS X
by Cody Fendant (Hermit) on Sep 22, 2012 at 08:07 UTC | |
by roboticus (Chancellor) on Sep 22, 2012 at 12:26 UTC | |
by remiah (Hermit) on Sep 23, 2012 at 03:06 UTC | |
Re^2: I'm having a lot of trouble getting UTF-8 output via Perl/DBI on OS X
by Cody Fendant (Hermit) on Sep 22, 2012 at 08:04 UTC |
In Section
Seekers of Perl Wisdom