On Wed, 27 Feb 2013 06:53:23 -0500, "Avinash via RT"
<bug-DBI@rt.cpan.org> wrote:
Show quoted text> Please find below queries clarification:
>
> • What is your current locale?
>
> bash-3.00# locale
> LANG=
> LC_CTYPE=en_CA.ISO8859-1
^^^^^^^^^^^^^^^
Show quoted text> LC_NUMERIC=en_CA.ISO8859-1
> LC_TIME=en_CA.ISO8859-1
> LC_COLLATE=en_CA.ISO8859-1
> LC_MONETARY=en_CA.ISO8859-1
> LC_MESSAGES=C
> LC_ALL=
>
> • What is the database locale?
>
> bash-3.00# echo $LNS_LANG
>
>
> • Does it fail for this name, or also for names with diacritical marks
> outside of the iso-8859-1 range? ( or do you expect it to be cp1252
> encoding?)
>
> It will fail for every user which contains diacritical marks(ù). It is
> inside iso-8859-1 encoding range.
Which is what I expect. I also expect it to PASS for all diacriticals
*outside* the iso-8859-1 range, like Paveł
Show quoted text> • Did you - on purpose - not explicitly encode/decode data?
>
> We are not doing any encoding/decoding.
Well, you should. Oracle expects UTF-8, and you pass it iso-8859-1
Start reading
http://search.cpan.org/~pythian/DBD-Oracle-1.56/lib/DBD/Oracle.pm#UNICODE
Anyway, IMHO this is NOT a DBI bug. This is either something already
fixed in newer releases of DBI/DBD::Oracle or an oversight in your
scripts
Show quoted text> • What are - if set - CHARACTER SET, NLS_CHARACTERSET, and
> NLS_NCHAR_CHARACTERSET for the database?
>
> sql> select * from nls_database_parameters;
> sql> select * from nls_session_parameters;
> sql> select * from nls_instance_parameters;
>
> sql > select * from nls_database_parameters
>
> NLS_LANGUAGE AMERICAN
> NLS_TERRITORY AMERICA
> NLS_CURRENCY $
> NLS_ISO_CURRENCY AMERICA
> NLS_NUMERIC_CHARACTERS .,
> NLS_CHARACTERSET UTF8
^^^^
Show quoted text> NLS_CALENDAR GREGORIAN
> NLS_DATE_FORMAT DD-MON-RR
> NLS_DATE_LANGUAGE AMERICAN
> NLS_SORT BINARY
> NLS_TIME_FORMAT HH.MI.SSXFF AM
> NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
> NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
> NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
> NLS_DUAL_CURRENCY $
> NLS_COMP BINARY
> NLS_LENGTH_SEMANTICS BYTE
> NLS_NCHAR_CONV_EXCP FALSE
> NLS_NCHAR_CHARACTERSET AL16UTF16
> NLS_RDBMS_VERSION 10.2.0.5.0
>
> sql > select * from nls_session_parameters;
>
> NLS_LANGUAGE AMERICAN
> NLS_TERRITORY AMERICA
> NLS_CURRENCY $
> NLS_ISO_CURRENCY AMERICA
> NLS_NUMERIC_CHARACTERS .,
> NLS_CALENDAR GREGORIAN
> NLS_DATE_FORMAT DD-MON-RR
> NLS_DATE_LANGUAGE AMERICAN
> NLS_SORT BINARY
> NLS_TIME_FORMAT HH.MI.SSXFF AM
> NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
> NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
> NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
> NLS_DUAL_CURRENCY $
> NLS_COMP BINARY
> NLS_LENGTH_SEMANTICS BYTE
> NLS_NCHAR_CONV_EXCP FALSE
>
> sql > select * from nls_instance_parameters;
> NLS_LANGUAGE AMERICAN
> NLS_TERRITORY AMERICA
> NLS_SORT
> NLS_DATE_LANGUAGE
> NLS_DATE_FORMAT
> NLS_CURRENCY
> NLS_NUMERIC_CHARACTERS
> NLS_ISO_CURRENCY
> NLS_CALENDAR
> NLS_TIME_FORMAT
> NLS_TIMESTAMP_FORMAT
> NLS_TIME_TZ_FORMAT
> NLS_TIMESTAMP_TZ_FORMAT
> NLS_DUAL_CURRENCY
> NLS_COMP
> NLS_LENGTH_SEMANTICS BYTE
> NLS_NCHAR_CONV_EXCP FALSE
>
>
> Thanks & Regards,
> Avinash
--
H.Merijn Brand
http://tux.nl Perl Monger
http://amsterdam.pm.org/
using perl5.00307 .. 5.17 porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/