Zygomax has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I'm having a problem using DBD::Oracle. The locale of the system is en_US.UTF-8, and that is the encoding we use for our string-processing. We are selecting data from and inserting data into an Oracle database. The database (default) character set is WE8ISO8859P15. By setting the environment variable NLS_LANG to "AMERICAN_AMERICA.AL32UTF8", we can insert strings with non-ASCII characters just fine. However, when we run a SELECT statement and retrieve the data using fetchall_hashref(), the strings remain in ISO-8859-15--we need them to be UTF-8.
Does anyone know of a DBI or DBD::Oracle setting that would cause the strings to be converted?
All systems are SUSE Linux 11 SP4 x64.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD::Oracle - Character Encoding Conversion
by kennethk (Abbot) on Sep 21, 2015 at 15:38 UTC | |
|
Re: DBD::Oracle - Character Encoding Conversion
by Anonymous Monk on Sep 21, 2015 at 16:52 UTC | |
|
Re: DBD::Oracle - Character Encoding Conversion
by Zygomax (Initiate) on Sep 21, 2015 at 18:06 UTC | |
by Anonymous Monk on Sep 21, 2015 at 18:40 UTC | |
by kennethk (Abbot) on Sep 21, 2015 at 19:46 UTC | |
by Anonymous Monk on Sep 22, 2015 at 15:14 UTC | |
by kennethk (Abbot) on Sep 22, 2015 at 16:20 UTC | |
by Zygomax (Initiate) on Sep 28, 2015 at 12:51 UTC |