You probably want to set the NLS_LANG environment variable. For Unix-ish systems, there is a script supplied in $ ORACLE_HOME / server / bin called nls_lang.sh to display a reasonable value for your system based on the LANG environment variable.
eg. for my system (LANG = en_GB.UTF-8) equivalent Oracle setup
NLS_LANG=ENGLISH_UNITED KINGDOM.AL32UTF8
Additional information: http://forums.oracle.com/forums/thread.jspa?threadID=381531
The Sergiusz post says almost everything you need to know: Iβll just add that the Perl DBD :: Oracle driver is based on OCI, and the pure Java Java JDBC driver is not, therefore, they work differently in the same environment .
source share