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
$text = encode("iso-8859-1", decode("utf-8", $text));
# now print $text
I don't want to use a hack like that in production code. Hmmmm.
In case of doubt print it out on the console and use hexdump to check.
Non-existent; I don't have TV
Non-existent; my TV doesn't have/need a remote
Under my control; I watch alone
Under the control of whoever shouts loudest
Under the control of whoever gets it first
One of many, and the TV has a mind of its own
Results (477 votes),