Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: OT? Character set issues with MySQL/CGI::Application

by cLive ;-) (Prior)
on Jul 25, 2008 at 05:22 UTC ( [id://700031]=note: print w/replies, xml ) Need Help??


in reply to Re: OT? Character set issues with MySQL/CGI::Application
in thread OT? Character set issues with MySQL/CGI::Application

That does provide correct output (thanks), but does not explain why it's happening or how to resolve it correctly.

I don't want to use a hack like that in production code. Hmmmm.

  • Comment on Re^2: OT? Character set issues with MySQL/CGI::Application

Replies are listed 'Best First'.
Re^3: OT? Character set issues with MySQL/CGI::Application
by moritz (Cardinal) on Jul 25, 2008 at 06:35 UTC
    If you can convert it from UTF-8 to Latin-1 and it then works, it means that the data you get from the data is UTF-8, and not Latin-1 as you think.

    In case of doubt print it out on the console and use hexdump to check.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://700031]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-16 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found