Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: UTF-8, Oracle and Perl life

by wardk (Deacon)
on Oct 07, 2002 at 19:53 UTC ( #203472=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: UTF-8, Oracle and Perl life
in thread UTF-8, Oracle and Perl life

Is your current extract script either setting the vars I mentioned or inheriting them from the calling environment? for instance, if the job is running from cron, you will absolutely need to set this in the perl script. This is independent from the database setup, and your perl won't inherit the settings from Oracle. They will need to be in the calling environment (set perhaps in a calling shell script) or setting them specifically in the perl.


Comment on Re: Re: Re: UTF-8, Oracle and Perl life
Re: Re: Re: Re: UTF-8, Oracle and Perl life
by Akira71 (Scribe) on Oct 07, 2002 at 20:05 UTC
    Actually they are inheriting them from the database so no, we are not setting them in the perl script. I can add the appropriate ones to the perl script.

    I will try that and see if it helps.

    Thank you,

    Akira

      Actually they are inheriting them from the database
      No they're not. NLS settings are not cascaded, they are set individually for each client and server. Use NLS_LANG="JAPANESE_JAPAN.UTF8" for each of your clients. Either on the command line (or in the script) for a *nix box or in the registry for MS clients.

      rdfield

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://203472]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2014-10-21 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (105 votes), past polls