in reply to OT? Character set issues with MySQL/CGI::Application
For a quick-n-dirty fix, try this:
# $text is the variable containing "Espaņol" from the database use Encode; $text = encode("iso-8859-1", decode("utf-8", $text)); # now print $text
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: OT? Character set issues with MySQL/CGI::Application
by cLive ;-) (Prior) on Jul 25, 2008 at 05:22 UTC | |
by moritz (Cardinal) on Jul 25, 2008 at 06:35 UTC |
In Section
Seekers of Perl Wisdom