![]() |
|
No such thing as a small change | |
PerlMonks |
Re^3: HTML::Entities and multi-byte charactersby iburrell (Chaplain) |
on Sep 13, 2004 at 22:07 UTC ( #390678=note: print w/replies, xml ) | Need Help?? |
You probably will have to make a Unicode string from strings that come from the database.
Some drivers (DBD::Pg) will flag strings as Unicode. I don't know if DBD::mysql supports this. I have seen three different ways to control the encoding of strings. DBD::Pg has a dbh property, DBD::Oracle uses the NLS_LANG environment variable, and some use the database encoding. Unfortunately, it is not something that is well documented.
In Section
Seekers of Perl Wisdom
|
|