You haven't told us what database you are talking to and what you are using to load data into the database. Also, we will need to know what the column type is you're inserting into.
When loading the data from Perl, you will need to use Encode to decode the data from its source representation to Unicode.
You will likely need to tell the database driver when loading data into the database and when reading data out of the database that it should consider the column as UTF-8 encoded Unicode (if that's what your original data is).
Alternatively, encode the data to UTF-8 encoded octets and then write those raw octets into the database. You will lose the ability to query the data from within the database in a nice way. LIKE queries and UPPER() will likely not work in the way you expect them.
When reading from the database, set up your database so it decodes the data from your database format to Unicode in Perl.
If you are using MySQL, read DBD::mysql for some UTF-8 options.
In reply to Re^3: Print unicode strings to pdf
by Corion
in thread Print unicode strings to pdf
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |