|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
UTF8 driving me up the wall again!by ultranerds (Pilgrim) |
| on Sep 04, 2012 at 10:17 UTC ( #991586=perlquestion: print w/ replies, xml ) | Need Help?? |
|
ultranerds has asked for the
wisdom of the Perl Monks concerning the following question:
Hi,
First of all, I've read perlunitut, and also the page linked to from it (regarding UTF8). From my understanding, what I gotta do is:
...process it here $data = decode('UTF-8', $data);In my actual example script, I've used: (my script is creating a hash, which is getting passed into a DB module). The output of the script seems ok - but for some reason its broken in phpMyAdmin :/ ...and in phpmyadmin:
The annoying part is it works EVERYWHERE apart from phpmyadmin ... am I missing anything? I've been coding for a fair time now, and I've only just taken the time to really look into the best practices for utf8/unicode... makes a LOT more sense now - but for some reason this just doesn't seem to wanna play ball :/ TIA Andy
Back to
Seekers of Perl Wisdom
|
|