Unicode Data shows ???? in iSQLplus

Hi Christian,
I am using SQL*PLus 9.2.0.1.0
The character sets used for my Oracle database are -
NLS_CHARACTERSET WE8MSWIN1252
NLS_NCHAR_CHARACTERSET AL16UTF16
I made a column in my table as NVARCHAR2 to insert UTF-8 data in it. The data is inserted By using SQL Worksheet. when I try to retrieve it in iSQLPLUS with NLS_LANG set to AMERICAN_AMERICA.WE8MSWIN1252 and Enocde for iExplore is Unicode(UTF-8), the output is showing ????.
Thank you very much.
-Srini

Srini,
In a client server configuration the conversion is based on the database character set. So when your data is not a subset of the database character set it cannot be converted and ends up as replacements characters in your NCHAR columns. This has been addressed in 10gR2. You can use the UNISTR function to enter the data as Christian mentioned in the other thread.
Note that SQL*PLUS is not going to be able to display Greek data if the OS locale does not support Greek. iSQL*PLUS can be used to display multilingual data.

Similar Messages

  • Unable to show Unicode Data in Oracle RESTful Service JSON

    Hi Everyone.
    I have stored unicode data in Oracle database and when i retrieve in sql query it is showing the same. But when i retrieve the data in json using oracle RESTful web service (GET), it bringing with unknown character as shown below.
    next: {},$ref: "http://000.00.00.00:8085/ords/mobile/sch/loginm/?user=SURESH&pwd=123&page=1"
    items: [
    uri: {},$ref: "http://000.00.00.00:8085/ords/mobile/sch/loginm/41"
    stud_id: 41,
    stud_code: "1001",
    stud_name: "அப்துல் ஜப்பார்"
    My Database Setup as below:
    SQL> SELECT name,value$ FROM sys.props$;
    NAME                                                          VALUE$
    DICT.BASE                                                  2
    DEFAULT_TEMP_TABLESPACE               TEMP
    DEFAULT_PERMANENT_TABLESPACE     USERS
    DEFAULT_EDITION                                   ORA$BASE
    Flashback Timestamp TimeZone                    GMT
    TDE_MASTER_KEY_ID
    DBTIMEZONE                                        -07:00
    DST_UPGRADE_STATE                         NONE
    DST_PRIMARY_TT_VERSION               11
    DST_SECONDARY_TT_VERSION          0
    DEFAULT_TBS_TYPE                              SMALLFILE
    NLS_LANGUAGE                              AMERICAN
    NLS_TERRITORY                                   AMERICA
    NLS_CURRENCY                                   $
    NLS_ISO_CURRENCY                         AMERICA
    NLS_NUMERIC_CHARACTERS               .,
    NLS_CHARACTERSET                         AL32UTF8
    NLS_CALENDAR                                   GREGORIAN
    NLS_DATE_FORMAT                              DD-MON-RR
    NLS_DATE_LANGUAGE                         AMERICAN
    NLS_SORT                                        BINARY
    NLS_TIME_FORMAT                         HH.MI.SSXFF AM
    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_COMP                                   BINARY
    NLS_LENGTH_SEMANTICS          BYTE
    NLS_NCHAR_CONV_EXCP          FALSE
    NLS_NCHAR_CHARACTERSET          AL16UTF16
    NLS_RDBMS_VERSION               11.2.0.1.0
    GLOBAL_DB_NAME                    MOBILE
    EXPORT_VIEWS_VERSION   
    SQL> select DECODE(parameter, 'NLS_CHARACTERSET', 'CHARACTER SET',
      2  'NLS_LANGUAGE', 'LANGUAGE',
      3  'NLS_TERRITORY', 'TERRITORY') name,
      4  value from v$nls_parameters
      5  WHERE parameter IN ( 'NLS_CHARACTERSET', 'NLS_LANGUAGE', 'NLS_TERRITORY');
    NAME          VALUE
    LANGUAGE      AMERICAN
    TERRITORY     AMERICA
    CHARACTER SET AL32UTF8
              8
    WORKLOAD_CAPTURE_MODE    
    WORKLOAD_REPLAY_MODE
    Awaiting you solution.
    -- Abdul Jabbar

    Kumar,
    Ftping the PG.xml to mds folder will not help the page to goto MDS directory
    You have to import the file using xmlimporter
    I understand you have done the import, but it is not success.
    Could you please post what is the script you used to import the PG.xml
    and once you run what was the output you have got.
    May be you can refer the URL for the scripts
    http://apps2fusion.com/at/61-kv/331-oa-framework-scripts
    With regards,
    Kali.
    OSSI.

  • Bex Analyzer not showing unicode data correctly

    Hi all,
    we are currently testing unicode data with BW.
    when desplaying the data in BEx Analyzer 3.5 there is  some data that sows as #. not all.
    The connection from BW tosource is unicode and the other side around.
    The data is stored as unicode in BW - checking the infoobject masterdata, data displays correctly.
    RSRT displays the data correctly - all unicode characters display correctly.
    we also made a analyzer 7.0 query which also displays the data correctly.
    BEx web also returns the 3.5 query correctly.
    Does anyone encountered this in the past or knows why this is happening? the problem is clearly only with bex analyzer 3.5
    i am using gui 7.20 with SAP BW 3.5 AddOn Patch 5 for GUI 7.20 patch.

    Jason-
    We had exactly the same issue. The problem is not in the SAP system, it's in the MS Excel language system. Microsoft does not like to be set up for more than one language. Most users set up their computer for one language. So set up your test computer for... for example, Chinese. Allow English. Log in to Bex in Chinese, and execute your report. You should see Chinese characters, and you may also see English characters as well.
    Please note also that if the characteristic text is not maintained in more than one language, you will see the key value instead of the text value. this can become an annoying issue.. for example, we had to write an exit in the datasource so that the customer name (in the communication language) was returned in every single installed langauge to the master data text.
    Good luck !

  • Plz its URGENT : Storing unicode data in MS SQL Server 2000 through JSPs

    Hello All,
    I'm trying to store unicode data, entered from JSP page into the SQL Server. For that I've tried the following :
    1> I put tag -
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    2> Also set in JSP tag -
    <%@page contentType="text/html;charset=UTF-8"%>
    But, still data is being entered in ISO-8859-1 format, don't know why. I tried with function for convertion - private String toUniCode(String strPar)-it successfully shows me the unicode data in alret msg, but it doesn't enters unicode data in SQL Server. In SQL Server only '??????' get entered. I kept data-type in SQL Server as nvarchar to store data in unicode.
    Would it be possible for me, to accept the data as UTF-8 itself & can I store it in SQL Server as it is? How can I do that? I'm accepting data in 'marathi' language.
    Plz, anybody Help me, I'm trying for this from around more than 1 week.
    Thanks in advance for any replies!

    Hello dmorris800,
    Thanx for your help. In fact I've tried lot many alternatives for that. Later I realised that it was problame of Driver, not of code. I was using jdbc:odbc driver which doesn't support unicode, or I don't know what was the problame with it.
    But I downloaded the driver named :'TaveConnect30C'. It is the connection optimised driver of Atinav.com This is the JDBC3 Type 4 Driver for MS SQL Server 6.5/7.0/2000 & trial version of which can be downloaded from http://www.atinav.com/download.htm
    It is really very good type-4 Driver.
    Cheers
    -Yogesh

  • Can't see unicode data from BI

    Hi all!
    i have the problem as follows:
    I deployed sucessfully my project from OWB (10.1.0.4) to Oracle database (10.2.0.1) but
    I can't I can't see unicode data from OracleBI Decoverer for OLAP (10.1.2).
    Could you tell me how to solve this problem!
    Thanks
    Vinh.

    Hi J1m,
    According to your description, I make a test on my computer and I am able to reproduce your issue. Firstly, I install the Visual Studio 2013 express for web successfully, create a project and connect to SQL Server database. Then I right click one table,
    and I can see all the options including ‘Show Table Data ’, ‘Open Table Definition ’, ‘Copy’, ‘Refresh’, and ‘Properties’. Next, I uninstall the SQL Server data tools, and restart the Visual Studio, right click on table, and only find  the three options
    ‘Copy’, ‘Refresh’, ‘Properties’ as the following screenshot, which is the same scenario with yours.
    Based on my test, the issue could be due to the missing or corrupt SQL Server Data Tools. To work around the issue, you should install the latest SQL Server data tools for Visual Studio 2013. You could  download the
    ISO file for SQL Server data tools and extract the ISO files to your hard drive following the methods in this
    article, and install the data tools. Please restart your computer after you complete the installation.
    Regards,
    Michelle Li

  • I have a new IPAD4 which has synced pictures i selected but not music or films i selected from itunes library? I have had an account for years and never had issues syncing with iphone or ipod? when i attempt ipad the data shows and it cycles but nothing?

    show the data shows whe i selet for sync (i have ticked sync only ticked icon) and selected two playlists - the data usage shows an extra 3.2 gb off my 32g ipad and the movies show up purple on the data usage bar, i press apply / sync it takes 20mins to go through 5 stages - never once do i see a song title or number in the update display. then when it finishes the data usage bar goes back to the lower amount before i tried to add the music and movies to my ipad?? The only thing that i have managed to move if pictures??
    Im confused, ive always got on fine with moving, updating and syncing my iphone, ipod touch, have done this the same way but NO music or films
    when i go through the summary section it says i have selected 757 songs (off two playlists) and i movie (from a digital copy via itunes), they show in usage bar b4 sync but then after sync nothing! i have tried both wi fi sync and normal, i have the lastest updates and CANT FIGURE THIS OUT
    When i set up the ipad out the box the other day it asked whether i wanted a NEW INSTALL or RESTORE FROM ICLOUD BACKUP (presumbly off iphone), I choose restore, it then downloaded all the apps and web history/bookmarks etc, although it took about 8 hours to do it which i thought was odd?!
    Ive spent £500 on this and if i cant put my msuc or movies on it that makes it a very exspensive web browser, APPLE this should be easier .......! please help - im no techno noob beither grand master, just your average user so im sure people might know what to do... i freakin hope so!

    ps when syncing it jumps through steps 1 - 4 real fast, i seem to remeber iphone showing the number of tracks transferring and names, but i see nothing? then it sits on 5 saying "waiting for changes to be applied"

  • How to load unicode data files with fixed records lengths?

    Hi!
    To load unicode data files with fixed records lengths (in terms of charachters and not of bytes!) using SQL*Loader manually, I found two ways:
    Alternative 1: one record per row
    SQL*Loader control file example (without POSITION, since POSITION always refers to bytes!)<br>
    LOAD DATA
    CHARACTERSET UTF8
    LENGTH SEMANTICS CHAR
    INFILE unicode.dat
    INTO TABLE STG_UNICODE
    TRUNCATE
    A CHAR(2) ,
    B CHAR(6) ,
    C CHAR(2) ,
    D CHAR(1) ,
    E CHAR(4)
    ) Datafile:
    001111112234444
    01NormalDExZWEI
    02ÄÜÖßêÊûÛxöööö
    03ÄÜÖßêÊûÛxöööö
    04üüüüüüÖÄxµôÔµ Alternative2: variable length records
    LOAD DATA
    CHARACTERSET UTF8
    LENGTH SEMANTICS CHAR
    INFILE unicode_var.dat "VAR 4"
    INTO TABLE STG_UNICODE
    TRUNCATE
    A CHAR(2) ,
    B CHAR(6) ,
    C CHAR(2) ,
    D CHAR(1) ,
    E CHAR(4)
    ) Datafile:
    001501NormalDExZWEI002702ÄÜÖßêÊûÛxöööö002604üuüüüüÖÄxµôÔµ Problems
    Implementing these two alternatives in OWB, I encounter the following problems:
    * How to specify LENGTH SEMANTICS CHAR?
    * How to suppress the POSITION definition?
    * How to define a flat file with variable length and how to specify the number of bytes containing the length definition?
    Or is there another way that can be implemented using OWB?
    Any help is appreciated!
    Thanks,
    Carsten.

    Hi Carsten
    If you need to support the LENGTH SEMANTICS CHAR clause in an external table then one option is to use the unbound external table and capture the access parameters manually. To create an unbound external table you can skip the selection of a base file in the external table wizard. Then when the external table is edited you will get an Access Parameters tab where you can define the parameters. In 11gR2 the File to Oracle external table can also add this clause via an option.
    Cheers
    David

  • Reading Unicode data from a file...

    I am writing an application that needs to read some configuration data from a file. An end user edits the configuration file to provide the configuration data. The Java code reads this file and uses the configuration data supplied by the user.
    The user can also save non-ascii characters as part of the configuration data. hence, I do not want to use java properties files. What are the other options available that allow me reading Unicode data into my Java code and will also allow user to save the configuration file as Unicode?

    Java characters are Unicode characters. Read file data that consists of Unicode characters as Java characters or strings.
    You can read the data as primitive char values using the DataInputStream class. The InputStreamReader class can also read Unicode (UTF-16) data.
    Data can be written using the OutputStreamWriter class.

  • In numbers, can i hide rows of data in a chart and still have that data show up in my graph?

    In numbers, can i hide rows of data in a chart and still have that data show up in my graph?

    yes.
    To hide rows (or columns), select the rows (or columns), then right click in the row (or column) tab to expose the contextual menu.  Select the menu item "Hide ..."

  • Pass unicode data in SQL Server 2008 stored procedure parameter

    Hi,
    I want to pass unicode data in a SQL stored procedure. But I am not sure that how to append N with NVarchar datatype.
    For example I Create a table LocalizationTest and wants to insert a few records.
    Create table LocalizationTest
        Field1 NVarchar(255)
    INSERT INTO LocalizationTest
    VALUES(N'123 Illini Dr, 東皮奧里亞, 8989')
    the above given statement works.
    To explain it more , script A works but script B does not work.
    DECLARE @X NVARCHAR(255)
    [A]
    SET @X=N '123 Illini Dr, 東皮奧里亞, 8989'
    INSERT INTO LocalizationTest
    VALUES(@X)
    [B]
    SET @X= '123 Illini Dr, 東皮奧里亞, 8989'
    INSERT INTO LocalizationTest
    VALUES(@X)
    What is the correct way to execute script B because @X will be passed in a SQL Stored Procedure?
    Thanks
    Sharma M.

    If you do not pass the value as a Unicode value there is nothing left of the Unicode characters but question marks. Once this has happened, AFAIK there is no way to undo it (other than resetting the value as Unicode characters again).
    Affirmative.
    Demo - This is what happens if you convert UNICODE (nvarchar) to varchar with implicit conversion (try to force 2 bytes into one byte).
    3F hex is '?'.
    CREATE TABLE #LocalizationTest (Field1 VARCHAR(255))
    INSERT INTO #LocalizationTest
    VALUES(N'123 Illini Dr, 東皮奧里亞, 8989')
    DECLARE @X NVARCHAR(255), @dSQL NVARCHAR(MAX)
    SET @X=N'123 Illini Dr, 東皮奧里亞, 8989'
    INSERT INTO #LocalizationTest VALUES(CONVERT(NVARCHAR(255),@X))
    SET @dSQL = N'INSERT INTO #LocalizationTest VALUES(N'''+@X+''')'
    PRINT @dSQL
    EXEC sp_ExecuteSQL @dSQL
    SELECT *, Field1Bin=convert(binary(30), Field1) FROM #LocalizationTest
    DROP TABLE #LocalizationTest
    123 Illini Dr, ?????, 8989 0x31323320496C6C696E692044722C203F3F3F3F3F2C203839383900000000
    123 Illini Dr, ?????, 8989 0x31323320496C6C696E692044722C203F3F3F3F3F2C203839383900000000
    123 Illini Dr, ?????, 8989 0x31323320496C6C696E692044722C203F3F3F3F3F2C203839383900000000
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Which the best adapter vga to plug a data show on a macbook pro, mini displayport or thunderbolt?

    which the best adapter vga to plug a data show on a macbook pro, mini displayport or thunderbolt?
    Why?
    Thanks pals.

    Use the Apple Cable Chooser:
    http://store.apple.com/us/browse/home/shop_mac/mac_accessories/cables/cable_choo ser

  • Unable to insert and retrieve Unicode data using Microsoft OLE DB Provider

    Hi,
    I have an ASP.NET web application that uses OLEDB connection to Oracle database.
    Database: Oracle 11g
    Provider: MSDAORA
    ConnectionString: "Provider=MSDAORA;Data Source=localhost;User ID=system; Password=oracle;*convertNcharLiterals*=true;"
    When I use SQL Develeoper client and add convertNcharLiterals=true; in sqldeveloper.conf then I am able to store and retrieve Unicode data.
    The character sets are as follows:
    Database character set is: WE8MSWIN1252
    National Language character set: AL16UTF16
    Select * from nls_database_parameters where parameter in ('NLS_CHARACTERSET','NLS_LENGTH_SEMANTICS','NLS_NCHAR_CHARACTERSET');
    PARAMETER VALUE ---------------------------------------
    NLS_CHARACTERSET WE8MSWIN1252
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    I have a test table:
    desc TestingUni
    Name Null Type
    UNI1 VARCHAR2(20)
    UNI2 VARCHAR2(20)
    UNI3 NVARCHAR2(20)
    I execute the below mentioned query from a System.OleDb.OleDbCommand object.
    Insert into TestingUni(UNI3 ) values(N'汉语漢語');
    BUT when retrieving the same I get question marks (¿¿¿¿) instead of the Chinese characters (汉语漢語)
    Is there any way to add the above property(convertNcharLiterals) when querying the Oracle database from OLEDB connection?
    OR is there any other provider for Oracle which would help me solve my problem?
    OR any other help regarding this?
    Thanks

    using OraOLEDB Provider.
    set the environment variable ORA_NCHAR_LITERAL_REPLACE to TRUE. Doing so transparently replaces the n' internally and preserves the text literal for SQL processing.
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/sql_elements003.htm#i42617

  • After Successfull Load ETL for General Ledger No data showing in Warehouse

    After Successfull Load ETL for General Ledger No data showing in Warehouse Tables
    DB Version # 11.2.0.1.0 and OS of Warehouse Microsoft Windows Server
    2003 R2 Enterprise Edition Service Pack 2, v.4922
    1. BI Apps version
    Release 7.9.6.3
    2. BI Apps module
    Financials
    3. Source system and version
    EBS R12.1.2
    Please help me out .......

    Hope you have done finance config as per the link
    http://docs.oracle.com/cd/E20490_01/bia.7963/e19039/toc.htm
    List out the tables with row count=0, get the sql override query and execute in source to see # records for tables ending DS or FS where row count=0
    do the same for tables ending with _D using warehouse db.
    If fact tables are getting 0 records check the w_day_d table.
    let me know updates.
    If helps pls mark.

  • Importing non-unicode data into unicode 10gR2 database

    Hi:
    I will have to import non-unicode data into unicode 10gR2 database. The systems the data is coming from are the following: CODA, Timberline, COMMS, CMS, LIMS. These are all RDBMS, sql-enabled systems. We are talking about pretty big amounts of data (a couple hundred GB combined).
    Did anybody go through a similar exersize?
    I know I'll have to setup nls_length_semantics to CHAR.
    What other recommendations could you guys give?
    TIA,
    Greg

    I think "nls_length_semantics" isn't mandatory at this point, and you must extract a little quantity of information from every source and do some probes injecting them into the Oracle10g database.

  • LSMW: Codepage conversion error with a Unicode data file

    Hi all,
    I am currently developing a LSMW upload program which has to use a Unicode data file. The underlying system/target system is NOT a Unicode system. The data file also contains non-Latin2 characters.
    In the step "Specify Files", I have specified my Unicode data file and specified the codepage type "4110 - Unicode UTF-8".
    In the step "Read Data", then I get the runtime error "CONVT_CODEPAGE", exception "CX_SY_CONVERSION_CODEPAGE".
    I would expect that all non-Unicode characters are automatically transformed to "#", but the conversion progam breaks. The character transformation to "#" would be fine.
    I am really wondering why, at first, I am able to specify the Unicode codepage type, but then, the file cannot be converted correctly.
    What do I make wrong, what can I do to avoid the error?
    Thanks a lot in advance for helping me out...
    Regards,
    Klaus

    Hello,
    You need convert the file with the format UTF-8. In notepad you can choose this option.
    Regards,
    Oscar.

Maybe you are looking for

  • Cannot click hyperlinks in emails

    When trying to click on a hyperlink within a received email, I get the error: Mail was unable to open the URL "https://XXXXXXXXXXXXXX". where XXXXXXX represents the address. This was working before, but I have no idea when it stopped (probably as a r

  • Can't connect to any website through Firefox (Connecting...), but Internet Explorer works.

    I have had on and off problems with Firefox working, but up until now, restarting the computer solved the problem. Now it won't load any website for anything...it keeps circulating with "Connecting...". Internet Explorer works just fine and the inter

  • Constantly getting messages Firefox is using large amounts (600,000+) CPU & sometimes for the plug-in,too. Solution?

    When using Firefox, I now get messages from Norton, constantly, stating CPU usage is abnormally high (600,000+). I sometimes notice a plug-in container usage is also high on my Windows task manager. It's making my computer very slow. Any suggestions?

  • Dynamic type cast

    I want to cast an object to the class of another object whose class is not known statically. Is there anyway to do it in a fully dynamic way ? I tought about something like this : Boolean b1 = new Boolean (true); Boolean b2 // now suppose, I forget t

  • Can't bind key abstract issue

    I developed everything in netbean, inside the jdesktop I want to allow user to close each jInternalFrame windows with shift+w.     Action actionListener = new AbstractAction() {       public void actionPerformed(ActionEvent actionEvent) {           t