Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: UTF8 URI Escaping

by snoopy20 (Novice)
on Apr 12, 2012 at 11:33 UTC ( #964747=note: print w/replies, xml ) Need Help??


in reply to Re^2: UTF8 URI Escaping
in thread UTF8 URI Escaping

I send that to the log with die and it says... \xc2 \xa2 If I send that to DBI::Mysql it saves it as: £

Replies are listed 'Best First'.
Re^4: UTF8 URI Escaping
by ajinkyagadewar (Novice) on Apr 12, 2012 at 13:31 UTC

    To remove that accented character u can use Text::Unaccent
Re^4: UTF8 URI Escaping
by Anonymous Monk on Oct 02, 2012 at 14:59 UTC
    MySQL itself may be causing your problem - what kind of field are you storing it in? BLOB will screw up big style (binary data does not allow encode/decode), TEXT should be a safe bet (provided your MySQL table is set to UTF-8)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://964747]
help
Chatterbox?
[Corion]: Ruining other peoples clones is not nice, but as I only have that repo to (later) show people when I encounter problems, I don't mind that
[Corion]: I should look into self-hosting gitprep instead of relying so much on github

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-01-23 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (192 votes). Check out past polls.