Basic Of NLS

I am new to this topic.I read some of the documents but i am not clear.
My question is
If i insert the data like "Hello how are you"
and if change the related NLS parameters to Germany so does this text will get converted into German Automatically.
More specific
My all data is in English and now i want to convert it to German. So all the text will get converted if i change the character set or language.
Plese clear my concept in this regard.
Nikhil

Oracle will not convert data from English to any other language. If it did, translation companies would be out of business.
What NLS allows you to do, however, is to automatically convert the character set that your data is encoded in on the client and on the server. If I have a Unicode (UTF8 or UTF16) database, for example, I can have a guy dealing with English data inserting ASCII data, a guy dealing with German data inserting ISO-8859-15 data, and a guy dealing with Japanese data inserting Big5 data. NLS will automatically convert all these encodings to UTF-8 (or UTF-16) on the server. Similarly, the ASCII guy can retrieve any of the English data as ASCII, the German guy can retrieve any German data as ISO-8859, and the Japanese guy can retrieve the Japanese data as Big5. This allows people to work in their local character set while the database is in a universal character set.
Justin
Distributed Database Consulting, Inc
www.ddbcinc.com

Similar Messages

  • Basic NLS question

    Hello. I have a basic question about NLS. I am just trying to print out the chars.
    When this code is run, I get bad chars out. I even set my regional settings to french. Any help would be appreciated.
    import java.util.*;
    public class I18NSample {
    static public void main(String[] args) {
    String language;
    String country;
    if (args.length != 2) {
    language = new String("en");
    country = new String("US");
    } else {
    language = new String(args[0]);
    country = new String(args[1]);
    Locale currentLocale;
    currentLocale = new Locale(language, country);
    System.out.println("�����");
    }

    The problem is like due to the fact that your console window is incapable of displaying those accented characters. I suggest you write them to a text file and view it in notepad to convince yourself that java strings can handle that string. E.g.:
    class Test {
        static public void main(String[] args) {
            File f = new File("result.txt");
            FileWriter writer;
            try {
                writer = new FileWriter(f);
                writer.write(...); // <-- Use your accented characters
                writer.close();
            } catch (IOException e) {
                e.printStackTrace();
    }Note: that above program has nothing to do with locales or regional settings. It will also only work if your default character encoding supports those characters (which if you're in western europe, it likely will). Use OutputStreamWriter to specify your own character encoding.
    Tim

  • Oracle 8i NLS Solaris 7

    Hi,
    I am getting a little desperate here. I have a Solaris 7 box here and want
    to have a database
    that supports the following features:
    *) Support of european special characters (Umlaute, ...)
    *) Correct sort order of those characters
    I can type Umlaute successfully in the Solaris environment, so vd| work
    fine. So then I created
    an instance and this is what I get when I type 'select * from
    nls_database_parameters':
    SQL> select * from nls_database_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET WE8ISO8859P9
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    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 TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_NCHAR_CHARACTERSET WE8ISO8859P9
    NLS_RDBMS_VERSION 8.1.7.0.0
    18 rows selected.
    So the character set of the database is WE8ISO8859P9. Now I would assume
    that the database can store Umlaute and all those funny characters. Now then
    I connect with SQL plus and view the session parameters:
    SQL> select * from nls_session_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE GERMAN
    NLS_TERRITORY AUSTRIA
    NLS_CURRENCY OS
    NLS_ISO_CURRENCY AUSTRIA
    NLS_NUMERIC_CHARACTERS ,.
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD.MM.RR
    NLS_DATE_LANGUAGE GERMAN
    NLS_SORT GERMAN
    NLS_TIME_FORMAT HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT DD.MM.RR HH24:MI:SSXFF
    PARAMETER VALUE
    NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZH:TZM
    NLS_TIMESTAMP_TZ_FORMAT DD.MM.RR HH24:MI:SSXFF TZH:TZM
    NLS_DUAL_CURRENCY ?
    NLS_COMP BINARY
    15 rows selected.
    I set the NLS_LANGUAGE,NLS_TERRITORY and NLS_SORT in the init.ora file. But
    look what happens:
    SQL> insert into NLS values('vvdd||');
    1 row created.
    SQL> select * from NLS;
    TEXT
    Vster
    Dther
    Dther
    vd|
    vd|
    vvdd&#0124; &#0124;
    6 rows selected.
    The characters are not saved correctly. The same happens if I connect with a
    remote
    client and save Umlaute. I really don't understand what I am doing wrong
    here, neither
    do I understand why it does not work, I have absolutely no clue. I read the
    whole NLS
    chapters and I must be too stupid to understand.
    I have to admit that I am quite new to both Solaris and Oracle, but I do get
    the basics
    I believe, but this cracks me up.
    What do I have to do to support Umlaute and correct sorting?
    I remember having a database with the USASCII7 character set and this one
    works fine with
    Umlaute, but why???? The ASCII7 charset doesn't even know Umlaute! Also the
    sorting does
    not work well, despite someone else's help just recently.
    I would appreciate everybody's helps and hints and tips that could help me
    solve this
    tedious problem.
    Thank you very much.
    Regards,
    Ingmar.
    null

    Hi Sven and Ingmar,
    I will try to kill 2 birds with one stone here. First of all you should check the definition of your current database character set and make sure that it can support all the characters that you need to store in your database.
    Please check out
    http://www.microsoft.com/globaldev/reference/iso.asp
    WE8ISO8859P9 is for Turkish and WE8ISO8859P1 is for western European (without Euro support).
    Next you need to set your client NLS_LANG character set (eg. for your SQL*Plus seesion), so that Oracle can convert your client operating system characters correctly into your database character set. The NLS_LANG character set also determines how SQL*Plus interpret/display your characters upon retrieval from the db.
    In both of your cases , I believed that the client NLS_LANG setting was not defined , hence this was defaulting to AMERICAN_AMERICA.US7ASCII. This is telling SQL*PLUS that the your client operating system can handle ASCII data only , hence all the accented characters are converted to ASCII during insertion into the database. Likewise upon data retrieval.
    If you are running SQL*PLUS client on English Windows then you NLS_LANG character set should be WE8MSWIN1252 and for Turkish Windows it should set to TR8MSWIN1254 .
    If the client character set and the database character set are the same , Oracle does not perform any data conversion, that's why if you use a US7ASCII database and set you NLS_LANG character set to US7ASCII .then you can insert all the accented Latin characters , Japanese , Chinese etc. This configuration is not supported, and it can cause many issues.
    For more information on character set configuration and possible problems.
    Please check out the white paper Database Character set migration on http://otn.oracle.com/products/oracle8i/content.html#nls
    And the Globalization Support FAQ at:
    http://technet.oracle.com/products/oracle8i/
    Regards
    Nat
    null

  • NLS bugs when running PL/SQL [fixed]

    Hi,
    Issuing
    select VALUE from NLS_SESSION_PARAMETERS where parameter='NLS_TERRITORY';
    from a worksheet returns me a correct AMERICA, as specified in the preferences and my Windows registry.
    However, after noticing buggy behaviour of my procedures, I did this test:
    create or replace
    FUNCTION K_TEST1 RETURN VARCHAR2 AS
    v VARCHAR2(20);
    BEGIN
    select VALUE into v from NLS_SESSION_PARAMETERS where parameter='NLS_TERRITORY';
    RETURN v;
    END K_TEST1;
    which run under sqldev returns an incorrect CATALONIA!
    Does anyone know where this difference comes from? Is there a way I can make sure all PL/SQL runs under the same environment parameters, without padding everything with ALTER SESSIONs?
    Is this a sqldev bug or am I missing something?
    The results are not DB or server related, because the function behaves differently on different developers machines. My original language and territory was Catalonia, but I changed that to America for over a year now. The other machine returns SPAIN, which I imagine was its original parameter at install.
    My relevant registry values are:
    NLS_LANG: AMERICAN_AMERICA.WE8MSWIN1252
    DEVELOPER_NLS_LANG: AMERICAN_AMERICA.WE8ISO8859P1
    USER_NLS_LANG: AMERICAN_AMERICA.WE8ISO8859P1
    In sqldev:
    Language: AMERICAN
    Territory: AMERICA
    Thanks,
    K.
    -- kris
    No need for that in the title.
    Message was edited by:
    Kris Rice

    Have you tested under SQL*Plus?no probs here
    Basic or TNS?both have the same problem
    SELECT statement or an anonymous PL/SQL blockIssued through the worksheet (as SELECT statement or as anonymous PL/SQL block), there are no probs.
    Running the function through the main menu, the context menu in the navigator, the context menu on the code editor or the play/debug buttons in the code editor will use some system values instead of the NLS parameters.
    AddVMOption -Duser.country=USMagic!
    You've tracked the bug down! Don't know where you got the option from, but that's definitely it.
    Can someone from the team please log this nasty, nasty bug? There are regional oriented functions in Oracle which might (and in our case do) return wrong values! Having preferences and then not respecting them is a lot worse than not having them at all...
    Thanks to our furry friend,
    K.

  • DirectAccess NLS error

    WS2012 R2 Std. with Essentials Experience installed. Essentials is configured to provide Remote Web App. We are now adding DirectAccess.
    I can't post URLs with my "unverified" account, so these URLs are all intentionally incorrect, but I followed this article--
    http //technet.microsoft.com/en-us/library/jj204618.aspx
    --which said to follow this article--
    http //technet.microsoft.com/library/jj574220.aspx
    --because the Essentials server is not a DC. I did so, using the "Basic" instructions, as it is appropriate for this system. After the setup wizard is finished, in the DA console, everything has a green checkmark except one item, as follows:
    Network Location Server: Not working properly.
    There is no response from the network location server URL. DirectAccess connectivity might not work as expected, and DirectAccess clients located inside the corporate network might not be able to reach internal resources.
    When I browse the NLS URL, I am redirected to the Remote Web App logon page, so best guess is that the redirection is where the problem is. It happens whether I enter http //directaccess-webprobehost.domain.local or http webprobehost.domain.local:62000.
    (Not sure which is correct.) (If either...)
    In IIS, HTTP Redirect is not enabled for Default Web Site, so I don't know how IIS is doing this.
    How do I fix it?

    Hi JRVCr,
    On current situation, please refer to the following article and check if can help you.
    Windows
    Server 2012 DirectAccess Network Location Server Not Working Properly
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
    does not guarantee the accuracy of this information.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Configuring Apach(ORA-12705: Cannot access NLS data files .. )

    Hello,
    I receive this error while configure an HTTP Server for Oracle XE Database.
    ORA-604 LogOn ORA-00604: error occurred at recursive SQL level 1\nORA-12705: Cannot access NLS data files or invalid environment specified
    The database NLS parameters is
    SQL> select * from nls_database_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET CL8MSWIN1251
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.1.0
    DADs configuration:
    <Location /elxe>
    Order deny,allow
    PlsqlDocumentPath docs
    AllowOverride None
    PlsqlMaxRequestsPerSession 10
    PlsqlDocumentProcedure wwv_flow_file_mgr.process_download
    PlsqlDatabaseConnectString elxe:1521:XE ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA.CL8MSWIN1251
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    PlsqlDefaultPage apex
    PlsqlDatabasePassword xxxx
    Allow from all
    </Location>
    What is wrong?

    It is most likely that the NLS files are missing from the server/pc.
    Also look at the apachectl file.
    Find the following line:
    NLS_LANG=${NLS_LANG=""}; export NLS_LANG
    Modify this line to look like the following:
    NLS_LANG=AMERICAN_AMERICA.CL8MSWIN1251; export NLS_LANG
    Christopher Soza
    Oracle BI DBA
    Orix Consultancy Services Ltd
    b: http://sozaman.blogspot.com

  • NLS Archiving question.

    Hi,
    I know that with NLS, we can report on the archive data but can we also report on navigational attributes after data is archived.
    Also can i pass filters on navigational attributes to the archive data from a report?
    Thanks & Regards
    -Ranjit

    Hi,
    reporting with NLS works with filtering on navigational attributes on any supported release (as of BW 7.0). However the filter itself is not moved into NLS, since NLS storage does not store the master data.
    Example: if you filter on an attribute of a material, NLS returns all relevant material data rows and OLAP processor does the filtering. So the query result is correct however the runtime can be very long.
    On BW 7.30 this has improved a bit. For filters where the selection on navigation attributes selects less than 100 records of basis characteristic, this filter is translated into the basic characteristic and the filter is passed into NLS.
    Example: you want to filter on an attribute of a company code. This filter fits for 34 company codes. The selection to NLS is send with these 34 company codes instead of the selection on the attribute. This works only for characteristics with low cardinality. For the example with material this would most likely not work.
    On BW 7.40 with SAP HANA there is a solution called Smart Data Access which allows to cooperate SAP HANA with SybaseIQ, so that the relevant data from NLS is moved at runtime into SAP HANA and then joined with attributes table on SAP HANA. This improves the runtime also for high cardinality characteristics.
    There are also solutions from 3rd party NLS vendors which can improve the runtime when filtering on navigational attributes.

  • NLS BI 7.0

    What is NLS and how does it work in BI 7.0 ,what is the purpose of using NLS features ,does it work in 3.5??
    thanks

    Hi,
    Basically  Near-Line Storage System Makes Aged BW Data More Easily Accessible.Nearline Storage is a new category of data persistency that is similar to archiving. The overall goal is to take read-only data out of the database system and to put it on cheaper devices (normally file systems) without loosing the ability to direct access the data for analysis and ETL purposes. Therefore, NLS providers typically display NLS data in SQL interfaces: wherever the data resides, whatever format it might have, and how high the compression rates might be.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90836e30-1582-2910-03a6-86671428d994
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/342cba90-0201-0010-0d99-ab4bfb868eb6
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5ca86689-0a01-0010-6ebd-de9523ff1c5a
    Regards,
    ®

  • Basic question

    Hello, i have a basic question. if i have defined 2 fields in a cube or a dso:
    Name Quantity
    and from the external flat file i get some characters for my quantity field. would my load fail?  for standard dso and for write optimized?
    NOTE: quantity field is a keyfigure defined as numeric.
    and the load coming in has "VIKPATEL" for Quantity field and not numbers.
    thanks

    Hi Vik,
    Yes, the load will fail.
    May be you coud first load this data into BW (into PSA) and set both fields as characters fields. Then you can create DSO, do transformation from this PSA to the DSO, and put your logic as to what do you want to do with those Quantity that is not number (e.g. convert to 0, or 'Not assgined', etc).
    You can use transfer rule, or a clean up ABAP code in the start routine.
    Hope this helps.

  • How can I create a video clip that has multiple copies of the same subject playing at the same time?  Basically like one person became 50 backup dancers!

    Hello Everyone,
    I am trying to create a single video clip where my original subject (dancer) is multiplied on the screen many times.  Basically I am trying to create a background video for a dance team and want to make it look like an army of the same person dancing behind them.  Amy guidance would be great!
    Thanks
    Madisonman 2013

    Motion ($50) can do this with a replicator.
    Russ

  • Type Mismatch error while calling a Java Function from Visual Basic 6.0...

    Hi,
    I'm having a problem in calling the Java Applet's Function from Visual Basic. First, I'm getting the handle of the Java Applet and components of it using "Document.Applets(n)" which is a HTML function. I'm calling this function from Visual Basic. My code is something like this...
    ' // Web1 is IE Browser in my Form.
    Dim Ap,Comp
    Dim Bol as Boolean
    Bol = true
    Ap = Web1.Document.Applets(0).getWindow() ' \\ Gets the Parent Window.
    Ap.setTitle("My Java Applet") ' \\ Sets the Title of the window.
    msgbox Ap.getVisibility() ' \\ This will return a Java boolean ( true or false )
    Ap.setVisibility(Bol) ' \\ Function Syntax is : void setVisibility(boolean b)
    Here in my code , i'm able to call any function that which accepts Integer or String but not boolean. So, i m facing problem with Ap.setVisibility() function. It gives me a "Type mismatch error" while executing it. Can you please tell me a way to do this from Visual Basic !
    I'm using Visual Basic 6.0, Windows 2000 , J2SDK 1.4.2_05.
    Please help me Friends.
    Thanks and Regards,
    Srinivas Annam.

    Hi
    I am not sure about this solution. try this
    Declare a variable as variant and store the boolean value in that variable and then use in ur method.
    Post ur reply in this forum.
    bye for now
    sat

  • Disappointed by missing basic functionality

    I recently started working with Muse, and got frustrated by the fact that there seemingly is no Show/Hide functionality.
    Also, am I correct to say that there is no direct import for Mp3/4 media? If so, why not?
    Lastly: if InDesign can have basic animation options, then surely it wouldn't be so hard to include it in Muse.
    Muse works great, but I am quite disappointed by this lack of basic functionality.
    Cobus

    Thanks for your response.Yes I agree with you  - I put my expectations in the fact that Muse is developing fast.
    However, what I'd regard as a very basic feature  for any interactivity (show/hide), is missing. Instead of having abutton that can show or hide icons on a map, I now I have to create a duplicate of the same page that don't show them. So when a user click the button, another page first has to load!
    Clumsy and stupid.
    Thanks for the link - I'll have a look at it.
    Regards
    Cobus

  • How to install Windows 8.1 Enterprise on Ultrabook which came with basic Windows 8.1

    Hi,
    I guess I'm not the first one with this question but anyway...
    I've got 2000EUR expensive Ultrabook recently, and what's interesting it came with Windows 8.1. Just standard basic Windows 8.1, not Pro or Enterprise.
    Obviously I needed to upgrade it with larger SSD 1Tb and install Windows 8.1 Enterprise as I need Hyper-V and other Enterprise version functionality on day to day bases.
    I was surprised that I can't do so as SLIC is reverting Windows 8.1 back to basics!!!
    .. so my question is - How can I can Windows 8.1 Enterprise 64Bit on to very expensive Ultrabook which came with Windows 8.1?!?!
    Kind Regards,
    Kon

    Hi,
    Enterprise edition of Windows Client OS, is not available via OEM and not via Retail - it's only available via Volume Licensing agreement.
    you can purchase an upgrade to Pro, via the Microsoft Store:
    http://windows.microsoft.com/en-au/windows-8/feature-packs
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • HR-ABAP basic questions

    1) What is the reason for using infotypes with different way(not the same way as in ABAP) of saving the records the database is used in the ABAP-HR Programming?
    2) What is the some reason for using Logical Database more ABAP-HR?
    3) What is the reason for using precoded macro's in ABAP-HR?

    Matt,
      I am trying to learn ABAP-HR and found that many things that sound different in HR-ABAP can be achieved through normal ABAP below are the some
        1) Infotypes - I had read some where that records get saved horizantally (record1 record2 record3) instead in a vertial save ( record1
                                                          recordn).
           Why is that this type of database design is adapted. Ofcourse these are called repeate structures I guess.
           Why is that infotype need to have self built database table, internal table and structure?
           This is being already handled in Normal ABAP by creating internal table refering database table/structure.
          So my 1st question in the previous to know what is making infotype different than normal way of having a internal table.
        2) Macro - is the precoded select query but that is already coded in TRMAC. My question over this when we can have select query what is the need for the precoded stuff?.
          For example why to have "RP-READ-INFOTYPE" on some Infotype when this can done through  Select * from TABLE pA0*** where field1 = 'xxxx'  .
    Any ways Thanks for your response,I have 2 years of experience in ABAP and want to shift my self to ABAP-HR. I always try to have strong foundation/understanding of the basics and post the questions to know the differents views (approach of thinking of other ABAPER's). Many times the response provide me very...very valuable stuff and this is the frist time  that I have a response that is different from Grath & Sameer. But I guess any response that posted to question which is related always related to  ABAP is definitely going to be helpful in one or the other way (may for having good understanding  or for preinterview..or some thing else) . 
          If the post is found to be non sense there is responsible person "MODERATOR" to block the post. I Dont know what made these two guys bother them much.
         That's great! that you gave me a repsonse that I was always expecting
    Ty
    SDN Powered

  • Basic functions (high) in query formula for highest # of days past due

    Hi All,
    I hope you can help.  I am trying to create a formula in a query for FIAR Line Item Cube (0fiar_c03).  I would like to calculate the hightest number of days past due for open line items.  There is an operator 'high' in basic functions within the query formula.  Is it possible to use this?
    Regards,
    Cheryl Adamonis

    There is a workaround usind conditions.That is you can try to filter the top 10 % or top 10 after calculating the no of days past.However this way you will not be displaying complete dataset

Maybe you are looking for

  • Finding text on web pages in Safari on iOS

    A big drawback to using Safari on iOS is the inability to use a Find option to locate text on an open web page. If I'm reading a long article in Wikipedia, or any page with a lot of information on it, and I need to see specific text in the context of

  • Download and convert RMVB files to MP4

    Hi, I'm downloading several rmvb files that I'd like to watch on my iPod. I'd like to have a script so that when JDownloader finishes downloading each file, the PEnGUIn Encoder start converting and then sync to the iPod. I need help on something like

  • Use of Templates in Portal

    I have created a Unstructured User interface Template. I attach this template to a Report Component as well as Form Component. If I run the Report or the form individually it works fine.(ie it shows the Headers I have defined in the template). But if

  • SSIS -SKIP First few ROWS

    Hi Experts , I am working on SSIS 2008. I have Excel file as a Source . Scenario: First 5 Rows contain some Headings which I dont need My Actual Header Starts from 6th Row and then Data . How should I used my Excel source to Take 6th Row as Header an

  • Multiple person working on same planning area

    Hello, Can anyone please suggest how multiple people can work on same planning area at the same time. We are working on implementation project and our team has to work on different planning levels in the same planning area. But locking prevents us to