Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Perl::DBI problems after charset change
Interesting. Depressing, but interesting. In Korn:
export NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
...and all's well with SQL*Plus. But with Perl/DBI:
DBI->connect failed: ORA-12705: invalid or unknown NLS parameter value specified (DBD: login failed) at ./cursor_sharing_yes.pl line 17 Can't call method "prepare" on an undefined value at ./cursor_sharing_yes.pl line 32.
I can't win.
Rich
-- Rich Jesse System/Database Administrator Rich.Jesse_at_qtiworld.com Quad/Tech International, Sussex, WI USAReceived on Tue Oct 01 2002 - 14:03:26 CDT
> -----Original Message-----
> From: Jared.Still_at_radisys.com [mailto:Jared.Still_at_radisys.com]
> Sent: Tuesday, October 01, 2002 11:00 AM
> To: ORACLE-L_at_fatcity.com
> Cc: Jesse, Rich
> Subject: RE: Perl::DBI problems after charset change
>
>
> Rich,
>
> Though I've never had this problem with Perl, I have had it with SAP.
>
> If NLS_LANG is set incorrectly at the client, it won't work.
>
> In your Perl:
>
> $ENV{NLS_LANG} = 'whatever';
>
> Try it, you might like it. :)
>
> Jared
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jesse, Rich INET: Rich.Jesse_at_qtiworld.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
![]() |
![]() |