![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Need tipps for identifying utf-8 problems with Dancer and MySQLby Skeeve (Parson) |
on May 05, 2014 at 10:52 UTC ( #1085033=perlquestion: print w/replies, xml ) | Need Help?? |
Skeeve has asked for the wisdom of the Perl Monks concerning the following question: I have a MySQL table containing some string using german Umlauts. As far as I can see from MySQL these strings are stored in UTF-8 and using MySQL workbench they appear correct. Now I have a Dancer application which is retrieving those strings. config.yml defines the charset to be UTF-8 and in fact returning static strings containing umlauts, either from my templates or from a perl string seems fine. Just the strings I retrieve from the database get messed upped. Instead of "ü" I get for example "ü". I hope some of you have some good tipps to identify the source of my problem. s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{% +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
Back to
Seekers of Perl Wisdom
|
|