NLS_LANG PARAMETER

I WANT TO VIEW WESTERN EURPOE AS WELL AS JAPANESE LANGUAGE CHARACTER FROM MY APPLICATION ...SO WHAT SHOULD BE THE STRING FOR NLS_LANG PARAMETER...
I CAN SEE JAPANESE ON JAPANESE REGIONAL SETTINGS & I CAN VIEW GERMAN IN GERMANY REGIONAL SETTING AT OS LEVEL..
I WANT STRING FOR NLS_LANG IN REGEDIT FOR TO VIEW BOTH LANGUAGE CHARACTERS..
THANKS IN ADVANCE...

Hi Michalis,
if I well remember, NLS_LANG is an environment setting. At instance/session level you shoul use NLS_TERRITORY and NLS_LANGUAGE.
Check Oracle National Language Support Guide.
I hope this helps
Eugenio
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Michalis Trafalis ([email protected]):
I've written a Java Stored Procedure that inserts a text file into a table.
The problem is that all the Greek characters are interpreted incorrectly.
I set the NLS_LANG parameter in the client side to the correct value, but it seems that this does not solve the problem.
If this helps, when i try to change the NLS_LANG using the command :
ALTER SESSION SET NLS_LANG = GREEK_GREECE.EL8MSWIN1253;
I get an ORA-00922 (Missing or invalid parameter), even though i have defined NLS_LANG as an environment parameter.
Can anybody give a little help on this?
Thanks in advance.
<HR></BLOCKQUOTE>
null

Similar Messages

  • ORA-12705 Invalid or unknown NLS_LANG parameter value specified

    Hi,
    I am trying to connect to a remote Oracle 8i database using TOAD.I have Oracle 8i and 9i installed on Windows XP Professional.I am able to connect via SQL*PlUS and OEM.Initially I was able to connect with TOAD.Then I changed the environment variable NLS_LANG to the server setting and afterwards unset it.I haven't been able to connect to remote db via TOAD since and get the following error:
    ORA-12705:Invalid or unknown NLS_LANG parameter value specified
    I have unset the value of NLS_LANG in the registery settings of both the Oracle homes.it is not set in environment also.I have exhausted the resources but haven't been able to come up with an explanation and solution.please help.

    When I connect TOAD with 9i as ORACLE_HOME, it connects fine but when I try to connect with 8i as ORACLE_HOME, I get the ORA-12705 error.does this mean there is some wrong setting in 8i Home? I have removed NLS_LANG setting from the 8i Home registry setting. Any help will be greatly appreciated.Thanks.

  • How do you set NLS_LANG environment variable in report builder

    How do you set up the reports builder environment to display foreign fonts.
    So far what I read makes me think that in report builder I have to set the NLS_LANG environment variable .
    If anyone has done this is that true and if so how.
    Also the languages I want to use are the following.
    Armenian
    Cambodian
    Chinese
    Russian
    Tagalog
    Vietnamese
    How do I find the NLS_LANG environment variables for these.
    Where I am at now+
    I have to set the DEVELOPER NLS LANG. I see the NLS LANG in the registry and I guess I have to add the DEVELOPER NLS LANG.
    Now I am searching for syntax. If anyone knows the syntax for those languages please let me know and how do I set more than 1 at a time.
    Howard
    Edited by: csphard on Apr 14, 2010 5:17 PM
    Edited by: csphard on Apr 14, 2010 5:22 PM
    Edited by: csphard on Apr 15, 2010 9:02 AM

    Hello Howard,
    Check out the following link here you can find your desired NLS parameters.
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    And about the NLS_LANG for developer why you want to create for developer. Its is already there in REGISTRY. Just seaching in developer registry you can find there.
    how do I set more than 1 at a time.
    You can set only one NLS_LANG parameter at a time.
    -Ammad
    Edited by: Ammad Ahmed on Apr 15, 2010 8:52 PM

  • Character conversion and NLS_LANG

    Hi,
    The Oracle doc says that character encoding conversion for Java programs using the OCI driver is dependent on NLS_LANG. But the description of this was a bit confusing. As per the doc
    "The JDBC OCI driver transfers the data from the server to the client in the character set of the database. Depending on the value of the NLS_LANG environment variable, the driver handles character set conversions in one of two ways.
    1)If the value of NLS_LANG is not specified, or if it is set to the US7ASCII or WE8ISO8859P1 character set, then the JDBC OCI driver uses Java to convert the character set from US7ASCII or WE8ISO8859P1 directly to UCS-2.
    2)If the value of NLS_LANG is set to a non-US7ASCII or non-WE8ISO8859P1 character set, then the driver changes the value of the NLS_LANG parameter on the client to UTF-8. This happens automatically and does not require any user-intervention. OCI uses the value of NLS_LANG to convert the data from the database character set to UTF-8; the JDBC driver then converts the UTF-8 data to UCS-2. "
    Now refering to case1, assume the database character set is multibyte.Does this mean that the OCI C libraries first convert this to US7ASCII or WE8ISO8859P1 and then the Java driver does the conversion from US7ASCII or WE8ISO8859P1 directly to UCS-2. If that is the case, wouldnt information get lost during the first conversion.
    Thanks,
    Tom.

    "Now refering to case1, assume the database character set is
    multibyte.Does this mean that the OCI C libraries first convert
    this to US7ASCII or WE8ISO8859P1 and then the Java driver
    does the conversion from US7ASCII or WE8ISO8859P1 directly to
    UCS-2. If that is the case, wouldnt information get lost during
    the first conversion. "
    Yes this is true. For a multibyte database character set caution
    must be taken that the client application NLS_LANG is not
    US7ASCII or WE8ISO8859P1 or data loss can occur. An effort will
    be made to remove the NLS_LANG dependency in a future release
    because the current solution is imperfect.

  • NLS_LANG with Instant Client and MS Access

    Hello Everybody.
    Recently I downloaded Oracle Instant Client 10.1.0.3. I made a custom instalation for my little Access (ODBC)application.
    In the begining the installation had not any other configuration than PATH Environment variable and ODBC basic DLL paramaters. That configuration worked very well for some minutes, until I realized that some rows in my linked tables appeared as #DELETED.
    I made a little web-based investigation on the Microsoft and Oracle web site and I arrived to the NLS_LANG parameter. I realized it was my problem because I have Latin American characters in my rows and those rows were the "#DELETED" row I saw in my tables.
    I did "select * from NLS_DATABASE_PARAMETERS" and that command showed AMERICAN and WE8DEC as NLS_CHARACTERSET.
    I set the NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1 and the problem disapeared.
    My question is: Is that the correct configuration in this case?
    PD:I'am using Win XP Pro in Spanish.
    Thanks

    Hi,
    >>then I use Oracle Instant Client
    It's possible that maybe a NLS environment variables configuration problem ... For more information, I advise you to take a look at [url http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm] NLS_LANG FAQ
    Cheers
    Legatti

  • RUSSIAN_RUSSIA.UTF8 language parameter is not working in windows registry

    Hi All,
    We are using oracle 9i.
    We are storing some russian data in a database, the characterset we are using is UTF8. The NLS_LANG value we are using is RUSSIAN_CIS.CL8ISO8859P5.
    Databse properties for the database is as under
    NLS_LANGUAGE --> AMERICAN
    NLS_TERRITORY --> AMERICA
    NLS_CURRENCY --> $
    NLS_ISO_CURRENCY --> AMERICA
    NLS_NUMERIC_CHARACTERS --> .,
    NLS_CHARACTERSET --> UTF8
    NLS_CALENDAR -->GREGORIAN
    NLS_DATE_FORMAT --> YYYY-MM-DD:HH24:MI:SS
    NLS_DATE_LANGUAGE --> AMERICAN
    NLS_SORT --> BINARY
    NLS_TIME_FORMAT --> HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT --> DD-MON-RR HH.MI.SSXFFAM
    NLS_TIME_TZ_FORMAT --> HH.MI.SSXFF AM TZR
    NLS_COMP --> BINARY
    NLS_LENGTH_SEMANTICS -->BYTE
    NLS_NCHAR_CHARACTERSET --> AL16UTF16
    we want to display the same russian data in SQL*PLUS (which we are using as a client). For that we tried the above mentioned NLS_LANG parameter and we also tried
    NLS_LANG = RUSSIAN_CIS.CL8MSWIN1251. Both the NLS_LANG parameter is working fine.
    Now i want to store some hindi data into the database, and same we want to display in SQL*PLUS. What i read is that by defining the characterset UTF8 it is possible
    so i just tried RUSSIAN_RUSSIA.UTF8 as a NLS_LANG value, when i supply this value in windows registry(HKEY_LOCAL_MACHINE-->SOFTWARE-->ORACLE-->HOME0-->NLS_LANG) then it takes the value, but when i tried to connect the
    database then oracle throws an error
    INVALID VALUE SPECIFIED FOR NLS PARAMETER.
    I also tried to store and view only hindi data in SQL*PLUS by changing the two registry values as HKEY_LOCAL_MACHINE-->SOFTWARE-->ORACLE-->HOME0-->NLS_LANG = HINDI_INDIA.IN8ISCII and SQLPLUS_FONT_CHARSET= HINDI. Then also i'm unable to view hindi data from tables.
    Now what I want is that, to store and view hindi as well as russian data in a database and view the same in SQL*PLUS. Please help me out if thr is some solution for the same.
    Thanks & Regards
    Amit Pandey

    On Windows this issue has some complications and pitfalls, you should read on metalink:
    The correct NLS_LANG in a Windows Environment
    Note:179133.1
    Shortly, sqlplus is not a UNICODE client, you cannot use UTF8 as client characterset. I assume, currently you have an ANSI codepage, which supports cyrillic characters. When you now want to store and retrieve hindi characters, it's not sufficient to change the Oracle client characterset, you have to to change to the correct ANSI codepage, too.
    Werner

  • Character parameter size

    hi,
    what is the maximum size for a character parameter. I set a user parameter size to 64000 and compiling works. But when I run the report, it works only for strings having size less than about 32700.
    Is it possible to pass a report a CLOB parameter? thanks

    Hi,
    i use datapump on a regular manner to transfer a database from one server to another. Normaly not with the intention to change block size or character sets. But i think, that does not matter.
    It works perfectly.
    I will recommend to use the character set change tool from oracle to check the compatibility of your data with the new character set before you expdp and impdp the data. But if there is no problem reported from csscan you can just go on.
    Export the data with the old character set and set on the new db server the new character set via nls_lang and import the data.
    Or export the data with nls_lang pointing to the new character set and import it with the same nls_lang parameter. As far a i remember, both ways are equal.
    The block size is nothing to be aware of, the impdp will just use what it find :)
    hth
    Joerg

  • The NLS_LANG environment variable for Form Builder 10g on Linux

    Hi,
    I have installed Oracle Developer Suite 10g on Linux Enterprise AS4 successfully,and set environment variable NLS_LANG="SIMPLIFIED CHINESE_CHINA.ZHS16GBK",LANG="zh_CN.UTF-8".When i executed the following: /home/oracle/Orant/bin/frmbld
    I got the error as:
    X Error of failed request:BadFont(invalid Fond parameter)
    Major opcode of failed request:56(X_ChangeGC)
    Resource id in failed request:Ox2c000af
    Serial number of failed request:3376
    Current serial number in output stream 3517
    FRM-18122: ’Form Builder Debugger.
    If i delete the NLS_LANG environment variable,the Form Builder can be running,but i can't keyboard input[b] chinese characters in the PL/SQL Editor.
    I don't know how to solve the problem,anybody can help me?

    Hello Howard,
    Check out the following link here you can find your desired NLS parameters.
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    And about the NLS_LANG for developer why you want to create for developer. Its is already there in REGISTRY. Just seaching in developer registry you can find there.
    how do I set more than 1 at a time.
    You can set only one NLS_LANG parameter at a time.
    -Ammad
    Edited by: Ammad Ahmed on Apr 15, 2010 8:52 PM

  • NLS_LANG and the Thin Driver

    Does the Java JDBC thin driver make use of the NLS_LANG parameter in the client?
    As I understood so far, it doesn't (good) - but is the NLS_LANG parameter used on the server?
    null

    The JDBC Thin driver does not make use of the NLS_LANG on the client, because there is no ORACLE_HOME.
    The client character set is set to the database character set. The client Oracle LANGUAGE and TERRITORY settings are based on the local Java Locale settings.

  • NLS_LANG in Environment Variable

    My application is running on oracle forms 10g, deployed on 10gAS.
    My Language Character set is configured in ENV file, NLS_LANG=ARABIC_SAUDI ARABIA.AR8MSWIN1256 on Application Server only...
    because of this, application is switched (right to left),,
    and showing ARABIC NUMERAL Characters...
    but I want ENGLISH NUMERAL "1234" Characters!!!
    for Reports i used "REPORTS_ARABIC_NUMERAL" But for Forms, it showing arabic numerals,,,
    please Help me out..
    (Posted in this section, because all the configurations for Arabic done in Application Server)

    Hello Howard,
    Check out the following link here you can find your desired NLS parameters.
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    And about the NLS_LANG for developer why you want to create for developer. Its is already there in REGISTRY. Just seaching in developer registry you can find there.
    how do I set more than 1 at a time.
    You can set only one NLS_LANG parameter at a time.
    -Ammad
    Edited by: Ammad Ahmed on Apr 15, 2010 8:52 PM

  • ORA-12705 export NLS_LANG

    Database version: 10.2.0.4 EE
    OS: AIX 6.1
    I want to set the NLS_LANG parameter at OS level to run the import of the database. I'm receiving the below error when I run sqlplus or impdp.
    ORA-12705: Cannot access NLS data files or invalid environment specified
    The NLS parameters at DB level are below. Could someone let me know how to set the parameter.
    I tried in multiple ways like below. But, no success.
    $export NLS_LANG=.UTF8
    $export NLS_LANG=AMERICAN_AMERICA.UTF8
    SQL> SELECT * from v$nls_parameters;
    PARAMETER                                                        VALUE
    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_CHARACTERSET                                                 UTF8
    NLS_SORT                                                         BINARY
    NLS_TIME_FORMAT                                                  HH.MI.SSXFF AM
    PARAMETER                                                        VALUE
    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_NCHAR_CHARACTERSET                                           AL16UTF16
    NLS_COMP                                                         BINARY
    NLS_LENGTH_SEMANTICS                                             BYTE
    NLS_NCHAR_CONV_EXCP                                              FALSE

    Hi,
    Please check in your given thread.
    exp / owner=test file=test.dmp
    Export: Release 9.2.0.6.0 - Production on Wed Jun 17 10:06:42 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    JServer Release 9.2.0.6.0 - Production
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P15 character set (possible charset conversion)
    You will see the highlighted warning in exp/imp if NLS_LANG is not set correctly and it could cause charset conversion.
    Regards
    Edited by: skvaish1 on Feb 17, 2010 3:00 PM

  • How to make sure the change of NLS_LANG is working?

    I want to show unicode through iSQL*PLUS.
    Refer to the guide article,there are three steps to reach it.
    1.browser encording :Unicode(UTF8)
    2.database character set : UTF8
    3.new environmental var : TRADITIONAL CHINESE_TAIWAN.UTF8
    I make sure that the 1 and 2 steps are definitely reached.
    But I'm not sure the apach server got the new parameter or not.It looks all the same.....
    So,my question is how can I got the information(NLS_LANG parameter) of HTTPServer?
    Besides,if anyone can teach me how to show unicode through iSQL*PLUS,I would be very greatful.
    Thank in advance.

    By Firefox index, did you mean site map?
    Firefox doesn't keep an index of a web site. The web site does.
    This sounds like a server configuration problem, not a browser problem. But could you please paste the full error messages(s) from Gater Host / WordPress?

  • Multiple NLS_LANG parameters...

    Hi Gurus,
    We have two applications with different versions of Oracle database running at the backend, one is using oracle 9i; 9.2.0 and the other one is running with oracle10g; 10.2.0.2.
    I installed the 9i application along with the oracle client, it is working, it uses NLS_LANG=AMERICAN_AMERICA.US7ASCII.
    both the client is installed on different oracle homes.
    When I installed the 10g application with the oracle client, it uses NLA_LANG=ARABIC_SAUDI ARABIA.AR8MSWIN1256
    when I tried to run the application it is raising ORA-12705 error; "ORA-12705: invalid or unknown NLS parameter value specified"
    and sometimes it is also raising ORA 1019 unable to allocate memory at user side.
    When I am changing it in registry then 10g Application is working but 9i application is not working, I want to run both the applications.
    when I tried to export the oracle home and the nls_lang parameter at the command prompt and running the 10g application from there itself the application is running on one workstation, and when I tried to simulate it on the other machine it is not runnig, I want to have a permament solution for this.
    I created a batch script of this; like "10gAppl.bat"
    set ORACLE_HOME=D:\oracle\product\10.2.0\client_1
    set NLS_LANG=ARABIC_SAUDI ARABIA.AR8MSWIN1256
    cd Desktop
    10gAppl.lnk
    I ran the above script "10gAppl.bat" the application is running; and the other 9i application is also running as usual.
    but when I did the same on other two workstations the same error ORA 12705 is comming.
    Please help me resolve this error.
    Thanks & Regards

    This is probably an Oracle Home sharing issue, which has nothing to do with NLS. ORA-12705 may be reported if Oracle Client is supplied with files from the wrong Oracle Home. It cannot open *.nlb files and fails to recognize anything except linked-in AMERICAN_AMERICA.US7ASCII
    A probable cause of the problem is your PATH variable. Any user application started from a directory that is not %ORACLE_HOME%\BIN will use the Oracle Client that is pointed by the PATH variable. If the client installation is not clean, you may encounter strange problem.
    My suggestion:
    1. Use a clean workstation to start with.
    2. Install both clients.
    3. Right-click on My Computer, select Properties, go to Advanced tab, click Environment Variables.
    4. Remove any Oracle variables defined there. Remove any Oracle directory from PATH.
    5. Right-click the icon of the 9i application shortcut, select Properties, and the tab Shortcut. In 'Start in:' field enter the path to the BIN subdirectory of 9i Oracle Home.
    6. Do analogous steps for the 10g application shortcut.
    7. Set NLS_LANG in the Registry keys of both clients as required.
    This should help. If this does not help, you applications may have some own setting pointing to an Oracle Client directory, or they may use some intermediate API, like ODBC. In such case, further analysis is needed.
    -- Sergiusz

  • Push button query!!!!!!! help needed

    hello all,
    I HAVE USED THIS LOGIC FOR MAKING THE DATA ASCENDING AND
    DESECENDING,AND TRIED ALL THE
    SOLUTIONS THAT WERE SUPPLIED BY MY FRIENDS IN THIS GROUP,BUT COULD NOT
    CHANGE THE
    VISUAL ATTRIBUTE OF THE BUTTON.I AM REPEATING MY QUERY.I WANT TO HAVE
    THE
    PUSH BUTTON TO SIGNIFY VISUALLY THE ASCENDING AND DESCENDING DATA I.E
    WHEN THE
    DATA COMES IN THE ASCENDING WAY,THE PUSH BUTTON
    SHOULD HAVE A "inverted v"ACC CODE"" ALONG WITH NAME "ACC CODE" I.E IT SHOULD
    LOOK LIKE "ACC CODE "ACC CODE inverted v "
    AND WHEN THE DATA COMES IN THE DESCENDING WAY,THE PUSH BUTTON
    SHOULD HAVE A " v".I.E IT SHOULD
    LOOK LIKE "ACC CODE "ACC CODE' v' ".SO PLZ HELP me TO GET THIS .
    Any changes should be made to nls_lang parameter in registry???????????
    PLZ LET ME KNOW WHAT IS FONT THAT I SHOULD USE.U CAN CHANGE THE CODING
    THAT I HAVE WRITTEN
    IN THE "WHEN BUTTON PRESSED" TRIGGER OF ACC_CODE.
    BEGIN
    go_block('age_tran');
    BEGIN
    IF
    get_item_property('PB_ACC_ORDER',LABEL)='&Acc Code' THEN
    set_block_property('age_tran',order_by,'acc_code ASC');
    execute_query(no_validate);
    SET_ITEM_PROPERTY('PB_ACC_ORDER',LABEL,'&Acc Code'||'
    '||upper(chr(94)));
    ElSIF
    get_item_property('pb_acc_order',LABEL)='&Acc Code'||'
    '||upper(chr(94)) THEN
    Set_block_property('age_tran',order_by,' acc_code DESC');
    execute_query(no_validate);
    SET_ITEM_PROPERTY('pb_acc_order',LABEL,'&Acc Code'||' '||'v');
    ELSE
    Set_block_property('age_tran',order_by,'BALANCE DESC');
    execute_query(no_validate);
    SET_ITEM_PROPERTY('pb_acc_order',LABEL,'&Acc Code');
    END IF;
    END;
    END;
    THANKING U

    Hi Shiju,
    U can use the combination of fornt slash(/) and back slash(\) to fulfil ur requirement.
    For ascending u can use /\ and for descending u can use \/. Does this solve the purpose?
    I think it will.
    Suprabhat.

  • How to change the default language of form9i?

    How to change the default language of form9i? For example, change the language from Spanish to English.
    Regards!
    Gerald

    Hi,
    set the NLS_LANG parameter and make sure the language supplement classes got installed when installing the deesigntime or server. If you need to change the language for runtime, set the value in the default.env file - assuming its a web based appication
    Frank

Maybe you are looking for