Just another Perl shrine | |
PerlMonks |
Re^2: dealing with encoding while converting data from MySQL to Postgresby Anonymous Monk |
on Dec 10, 2011 at 12:09 UTC ( [id://942794]=note: print w/replies, xml ) | Need Help?? |
...and even then you may have to watch out for doubly-encoded UTF-8 (maybe the database driver does that, maybe it was inserted to the database that way, maybe ...). You should also look into Text::Iconv for your conversion as it works with raw bytes and does not mind perl's "utf8 bit."
In Section
Seekers of Perl Wisdom
|
|