Re: pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle

[prev] [thread] [next] [Date index for 2004/11/03]

From: Stas Bekman
Subject: Re: pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle
Date: 23:17 on 03 Nov 2004
Jean-Paul COGNET wrote:
> Hi Stas,
> Good advice !!
> I've found that a user have a similar problem using PHP, and that the only
> avalaible value for NSL_LANG is this case was
> 'American_America.EE8ISO8859P2'
> I've tried this value and it works, but with bad accents.
> "ou entrer l'heure d'enlèvement passée ou à venir. Entrer étoile si
> l'enlèvement ne pourra pas se faire"
> becomes
> "ou entrer l'heure d'enl?vement passée ou ? venir. Entrer étoile si
> l'enl?vement ne pourra pas se faire"
> 
> BUT with this strange value
> 'American_America.WE8ISO8859P1'
> it seems to work fine.
> "ou entrer l'heure d'enlèvement passée ou à venir. Entrer étoile si
> l'enlèvement ne pourra pas se faire"
> stays
> "ou entrer l'heure d'enlèvement passée ou à venir. Entrer étoile si
> l'enlèvement ne pourra pas se faire"
> 
> Maybe, Oracle doesn't like France ;-)

:)

> Thank you a lot Stas.

You're welcome, Jean-Paul.

But it should work w/o Env::C, if you set this env var at startup like you 
did in first place. Env::C is not good for threaded environment, since 
it's not thread safe. so it's only OK to use it for prefork MPM.


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

Re: pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle
Stas Bekman 23:17 on 03 Nov 2004

Generated at 09:30 on 27 Apr 2005 by mariachi v0.52