Chinese character set showing always with "?" in a query

I installed an oracle database to my Win7 laptop.

Currently, my oracle database has information below:

Select tab1.aa |' _'. Tab2. BB |'. ' || tab3.cc of

(select VALUE$ aa in sys.props$ where name = "NLS_LANGUAGE") tab1.

(select VALUE$ bb in sys.props$ where name = 'NLS_ISO_CURRENCY') tab2.

(select VALUE$ cc in sys.props$ where name = "NLS_CHARACTERSET") tab 3.

It returns "AMERICAN_AMERICA. WE8MSWIN1252.

My Win7 is an English version. Not just any what installed Chinese charset.

I can access registry: HKEY_LOCAL_MACHINE--> SOFTWARE--> ORACLE--> page HOME of NLS_LANG = AMERICAN_AMERICA. WE8MSWIN1252

I create a table and insert some Chinese to its columns. But I still have "?" to those columns after the query.

I tried with an internet solution.

I put my Win7 as environment variables below:

LANG = zh_CN. GBK
NLS_LANG = SIMPLIFIED CHINESE_CHINA. ZHS16GBK

But these solutions are not effective.

So who can help out me?

1. what should I do to the Oracle Server?

2. what happens if I have to do to Win7?

3. or I still need to do more?

Hello

WE8MSWIN1252 charset does not support the Chinese language so it won't work, you will need to convert DB charset to a character set that supports the Chinese please review:

What character does support the value which language (Doc ID 62421.1)

Kind regards

Dalia Sarey

Tags: Database

Similar Questions

  • Sometimes, the Firefox doesn't recognize a character set

    Firefox can not decode some English text characters or symbols and instead of characters appear a kind of codes. Just like you would surf the Chinese website without the Chinese character set.

    Like this here

    Why is it so in Firefox? I've never seen what happens in Internet Explorer.

    Pages that use Unicode (UTF-8) format display a small box with the hex code if the character cannot be displayed.
    Which allows you to search the character in a table.

    If you see such a box with hexadecimal code in it, then it means that Firefox cannot map a character to a specific font, and you will need to install a font that covers the affected characters.

    In your case you are missing fonts and font support if it occurs on sites that use the IDEOGRAM.

    You will see something similar on Windows XP if you visit pages that use complex scripts (e.g. hindi and Arabic).

    Windows XP account very basic language support installed by default.

    There are many languages in the world and there are still languages that may require special fonts.

    You probably can't read, so it's your choice if you want to install a font for these pages or just accept the small squares with the hex code.

    See http://en.wikipedia.org/wiki/Supplementary_Multilingual_Plane

  • character set and block corruption

    Hi master,

    It is not a kind of question, but a discussion...

    I would like to know how we can find the character set of database with dynamic display (under Oracle 10.2)? can we change after the installation of the database of characters?

    in fact I was facing a problem when you import a .dmp file...


    I was importing a dmp to oracle oracle 10.2 10.2 but the character set is different, so importation has not been started, he said possible character set conversion...

    and another topic is very different from the previous... What are the causes of corruption block?

    So what is the solution for this? I searched the net and got "try the new export file error or a State to support."

    and what is the difference between NLS_NCHAR_CHARACTERSET and NLS_NCHAR_CHARACTERSET? and how they affect datbase internal operation?

    any suggestion is appreciated


    Thanks and greetings
    VD

    Published by: vikrant dixit on March 3, 2009 04:11

    Published by: vikrant dixit on March 3, 2009 04:19

    Hello..

    ALTER DATABASE SET of CHARACTERS ?;

    From metalink
    >
    This note defines the character combinations that are valid for the
    "ALTER DATABASE CHARACTER SET xxxx;" command that can be used in Oracle
    8i and 9i.

    In Oracle 10 g Cslater script should be used to perform character set conversion.
    Csalter depends on CSSCAN to work. >

    Go well with

    1. change the database character set or National character set of the database (for 8i/9i)
    DOC - ID: 66320.1 I

    2. for 10 g

    Installation and configuration of CSSCAN 10 g and 11g
    DOC - ID: 745809.1

    3. change the character set of database - valid superset definitions
    DOC - ID: 119164.1

    HTH
    Anand

    Published by: Anand... on March 3, 2009 18:45

    MEtalink DOC added id

    Published by: Anand... on March 3, 2009 18:48

  • The problem with IMP-00038 IMP: could not convert to character set environment handle

    The export was made under linux.  I am told that their settings are: (I can't check)

    AL32UTF8 NLS_CHARACTERSET

    NLS_NCHAR_CHARACTERSET AL16UTF16

    export of the version

    Export: Release 11.2.0.3.0

    I'm trying to import into an empty database in windows with the Release 11.2.0.1.0 version (a few levels below patch)

    AL32UTF8 NLS_CHARACTERSET

    NLS_NCHAR_CHARACTERSET AL16UTF16

    Select userenv ('LANGUAGE') of double

    AMERICAN_AMERICA. AL32UTF8

    my var environment NLS_LANG = AMERICAN_AMERICA. AL32UTF8

    The value of KEY_HKLM\Software\oracle\OraDb11g_home1\NLS_LANG is also set to AMERICAN_AMERICA. AL32UTF8

    IMP prod_user/password@instacnename file = exportfile.dmp see the = y

    WITH JUST SHOW = Y ON... (even with him in the distance)

    Import: Free 11.2.0.1.0 - Production Fri Nov 14 11:09:51 2013

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

    Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit

    Production

    With the partitioning option

    IMP-00038: could not convert to character set environment handle

    IMP-00000: Import terminated unsuccessfully

    NO idea how to solve this problem?  I broadcast the gziped file and a new... to be sure of the xfer wasn't the question...

    I'm stumped... I searched the Forum and the web and tried most of what I found.

    Thanks in advance

    -Ken

    Hello

    I think that there is a single cause - see the example below

    expdp / schemas = bob

    Export: Release 11.2.0.3.0 - Production on Fri Nov 15 18:04:46 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    With the partitioning option
    Departure "OPS$ ORACLE." ' SYS_EXPORT_SCHEMA_06 ': / * schemas = bob.
    Current estimation using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Object type SCHEMA_EXPORT/TABLE/TABLE processing
    Object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment
    . . exported "BOB." » EMP"                                     0 KB       0 rows
    . . exported "BOB." "" EMP2 "0Ko 0 rows
    Main table "OPS$ ORACLE." "' SYS_EXPORT_SCHEMA_06 ' properly load/unloaded
    ******************************************************************************
    Empty the files together for OPS$ ORACLE. SYS_EXPORT_SCHEMA_06 is:
    /Oracle/11.2.0.3.0.DB/RDBMS/log/expdat.dmp
    Job ' OPS$ ORACLE. " "" SYS_EXPORT_SCHEMA_06 "led to 18:05:19

    [oracle@]:EMZA3:[~]# imp / file=/oracle/11.2.0.3.0.DB/rdbms/log/expdat.dmp]

    Import: Release 11.2.0.3.0 - Production on Fri 15 Nov 18:06:02 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    With the partitioning option

    IMP-00038: could not convert to character set environment handle
    IMP-00000: Import terminated unsuccessfully
    [oracle@]:EMZA3:[~]#

    Spot the problem?

    The original dump was expdp, we seek to import with IMP...

    If it is conversely impdp flags it is an exp file - but this round way you get just this random error!

    See you soon,.

    Harry

  • Problem with character set to UTF-16 THE

    Hello.
    There were difficulties with change of character set, using the convert () function
    The question is that in the list v$ nls_valid_values AL16UTF16LE character set does not appear, too much time the survey is conducted with success
    convert ([some-national-characters], 'CL8MSWIN1251', 'AL16UTF16LE').
    But to give input of data stored in a CLOB, there is an error "a character set is not supported.
    What are the possible ways of the decision of a problem?

    You can try using DBMS_LOB. SUBSTR to access LOB data as in the following example:

    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    SQL>
    SQL> declare
      2  v_i clob;
      3  v_o clob;
      4  begin
      5  v_i := 'a';
      6  v_o:=convert(dbms_lob.substr(v_i,1,1),'AL16UTF16LE', 'CL8MSWIN1251');
      7  end;
      8  /
    
    PL/SQL procedure successfully completed.
    
  • "One or more margins are set to show solidarity with their pages. Don't you...? "What does that mean?

    One or more margins are set to show solidarity with their pages. You want to maintain the current number of pages on these gaps?

    What does that mean? Can someone describe me in detail?

    I have a 249-page book. When I put the pages 'deal with' in the paper configuration dialog box, messages will appear. And not all the pages are changed in face also.

    This means that one or more pages has been selected at one point and 'Allow selected spread to Shuffle' has been disabled to turn off (or the entire document has been defined not to beat by unchecking "Allow Pages from one Document to Shuffle".) The message, in this case, means that unique pages configured to not mix will remain simple pages, if you decide to maintian the number of pages.

    You can specify which pages are configured to not mix by looking in the Pages panel. Their number will be in brackets.

  • Character set OCR

    Greetings,

    I am very new to machine vision, I am creating a number plate recognition system, I trained each character set in the license plate in the formation of OCR and when im opening each individual character image, sound successfully converts it to a string, but to an entire image (of the plate) its does not (I'm '?') I tried using KING for selection of specific areas but does not work... I don't know what seems to be the problem please help.

    You must connect the region of interest to the vi IMAQ OCR read text 3.

    The following example shows how to use the screw of OCR:

    C:\Program NIUninstaller Instruments\LabVIEW\examples\Vision\2. Functions\OCR\OCR first Example.llb\OCR first Example.vi.

    With this example, you can even load your character set file and try on your images.

    I hope this helps.

    Best regards

    Christophe

  • "Family Safety > settings user > user activities > time PC used" shows always "1 minute".

    I have Windows 8, clean install, not an upgrade to Windows 7.

    I have set up three accounts of child when I got the laptop.

    As a first step, the "time limits" worked and accounts would be to warn children when they had spent some time.

    Now, two of the three children never warns.  In addition, when I check their accounts, it shows always only '1 minute' for any day that they were connected.

    I am using local accounts for each of them, not the "Family Safety site", since none of my kids have accounts of Microsoft.

    Y at - it a patch to do this, please?

    Hi Daniel,.

    Welcome to the Microsoft community. I understand that delays in parental control does not work. It is possible that there is a problem with the time limits on your computer that is causing the problem with the use of PC. To resolve this issue, please refer to Madeni K post in this thread and then get back to us if you need assistance.

    Thank you.

  • "testing" a new character set

    11.2

    We have two environments. CHOOSE the value OF V$ NLS_Parameters WHERE parameter = "NLS_CHARACTERSET"; Returns WE8ISO8859P1 AL32UTF8 and one in the other. Asked me to 'test' the support for multibyte characters and see what we need to do.

    I don't know how to approach the issue. So I went to the basics of loading of SQL * Plus and execute: SELECT 'Ä' FROM Dual;

    In WE8ISO8859P1 result:

    '

    -

    ?

    In AL32UTF8:

    '?'

    ---

    ?

    The only difference seems to be the display of single quotes in the header.

    What should I configure SQL * more? Is there a 'simple test' to show the difference between the two environments?

    Your task is not well defined. You cannot 'test data' unless you want to repeat that all the thousands of tests run by Oracle to test its product :-)  You can test some features in the database, but more often, you want to test a business with the database application.

    Certainly, an AL32UTF8 database can store data in any language supported by Unicode. You don't have to test this possibility. Thousands of databases with this character set and store data from around the world. However, AL32UTF8 is a multibyte character set. In other words, you need to store a lot of characters may have different codes of those in a database of the WE8ISO8859P1 and these codes can have more than one byte. Depending on how the columns of the table are defined, lengths of scope are defined, the application is configured, etc, you may or may not notice problems. As you can see, you need test a particular application to useful tests.

    If you want to just test the entry of accented Latin characters of languages of Western Europe on an American or a Western European version of Windows, then:

    -Open Command Prompt

    -Run:

    C:\ > chcp

    Should display:

    Active code page: 437 (or 850)

    If you see 437, enter:

    C:\ > set NLS_LANG =. US8PC437

    If you see 850, enter:

    C:\ > set NLS_LANG =. WE8PC850

    Then, run SQL * more (in the same window from command line!):

    C:\ > sqlplus...

    You should be able to enter Western European characters in the WE8ISO8859P1 database and the AL32UTF8 database with this configuration. Note, WE8ISO8859P1 can't stand not all characters available under Windows. For example, it does not support the Euro character.

    However, I recommend Oracle SQL Developer to test the characters entry in a database. It requires no any configuration for most popular languages. Configuration of fonts in the JDK can prevail for lesser-used languages.

    Thank you

    Sergiusz

  • Character set conversion

    Hi all

    I have a 10.2.0.4 database with US7ASCII character set, which contains non-ascii, e.g. 'e' characters (chr (232)).

    Now I would like to upgrade to 11.2 with character WE8ISO8859P15 using expdp/impdp, but these non-ascii characters are not imported correctly. I tried all possible combinations of settings LANG and NLS_LANG (on the exports and imports), but I always chr (191) as a result.

    Is it possible to do the same thing (with, of course, the original values)?

    Operating system is Linux.

    Thanks in advance

    Guido

    Your options:

    1 clone the database and upgrade to 11.2 keeping the current mess. Simple but certainly not recommended.

    2. assuming that you can assign all non-ASCII characters to a set of unique characters, like WE8MSWIN1252, clone the database, upgrade to 11.2 and follow the procedure described in MOS 555823.1 Note to change the character set for this set of unique character. The note is probably a little too complex, but you should get the point. You can also search this forum some of my older replies. I think I described a version shortened the procedure somewhere Note: you will get a database in the character set of the current data, not necessarily WE8ISO8859P15. However, there is no reason to insist on WE8ISO8859P15, unless all clients are on Unix type system and use that character set. If you move only a subset of the data, use of the database migrated in the form described in this point and then run a selective Data Pump to move only the data necessary for your target WE8ISO8859P15 (assuming that it already exists and cannot be recreated in a recommended character set). Note however that WE8MSWIN1252 supports different characters not supported by WE8ISO8859P15, such movement can cause the loss of character.

    3 assuming you can assign all non-ASCII characters to a set of unique characters, like WE8MSWIN1252, clone of the database, upgrade to 11.2.0.4 and use The database for Unicode Migration Wizard to migrate the database to AL32UTF8 (Unicode) in place. The "Supposed Character Set database" property in the digital mock-up allows you specify the data identified unique character set so that CDS not US7ASCII migrate (converted) of all good character,. It is the most complex, but also more forward-looking option.

    Thank you

    Sergiusz

  • build the new database through scripts must understand Spanish character sets.

    Hello gurus,
    I need to some simple tips, a good chance for some quick points for you.
    I've never built a database to understand any different other than the U.S. English character set. I now have to build a database that will be used for characters Spanish-keyboards, etc. But I will use English to install 11g software. I just want to be able to show the Spanish characters in the data for the names of clients.
    I will create the database with scripts that I did to make the standard model for data files, control files, etc..
    Then I import in a dump that I did and that was done with American English character sets.
    The system is 11g (11.2.0.3.0) on Linux Enterprise Server 5.8.
    I thought I'd use the AL32UTF8 character set, but I'm not sure where to use them.
    My original test showed no Spanish characters for names of customers as the "tilda" or "sueano" (excuse my spelling). But in this case I did the exceptional for Spanish, I used only the construction of standard American English (no change in the file init.ora or original database create script).

    How can I adjust my settings file for the initial creation of the database model to be able to understand the Spanish character set and still be able to import my dump error-free file.

    EXAMPLE of a build script:

    CREATE DATABASE mynewdb
    The USER SYS IDENTIFIED BY sys_password
    The USER IDENTIFIED BY system_password SYSTEM
    LOGFILE GROUP 1 ('/ u01/app/oracle/oradata/mynewdb/redo01.log') SIZE in the 100M.
    GROUP 2 ('/ u01/app/oracle/oradata/mynewdb/redo02.log') SIZE in the 100M.
    GROUP 3 ('/ u01/app/oracle/oradata/mynewdb/redo03.log') SIZE 100 M
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXLOGHISTORY 1
    MAXDATAFILES 100
    CHARACTER SET US7ASCII
    NATIONAL CHARACTER SET AL16UTF16

    If I replace to AL32UTF8 AL16UTF16 NATIONAL CHARACTER SET, will it work to show the Spanish characters?

    Sorry for the long-winded question, any advice will be great.

    Fortunately,
    Shawn

    Hello
    the national character sets is for the column as nvarchar types not for normal varchar data types. So if your dump file contains column types, you also need to set. The character set is for normal column as a varchar types. The use of unicode is best practice if you use the multiel language, but keep in mind that multibyte character set can be a problem when importing because varchar2 (10) means byte 10 and not 10 characters, so mistakes as an identifier for a long time may occur when importing.
    You can create the database.

    See this documentation:
    http://docs.Oracle.com/CD/B28359_01/server.111/b28298/ch2charset.htm

    You can use a like WE8MSWIN1252 character set which covers the Spanish also (like many, I know) and a superset of us7ascii

    concerning
    Peter

  • How to find the Client character set?

    Hello

    I need to connect to the remote database that has different character set than the client. IA it any method to display the character of client and database set of sqlplus? Could someone help me please.

    Thanks in advance
    Sree.

    I assume you are using PL/SQL Developer?
    (because I get this warning message too ;))
    The warning also continues with:
    You can set the client thought game than the NLS_LANG environment variable or registry NLS_LANG character key.

    If I am running customer scripts (game characters client and database character set UTF8 WE8MSWIN1252) will be
    it cause any problem?

    It depends on what kind of data you load / import. (e.g. Chinese characters)
    I never had no problem at all, since I do not use the "exotic" characters

    You can find related discussions on http://asktom.oracle.com/pls/asktom/asktom.search?p_string=%22UTF8%22
    and further explanation in the Guide of Oracle's globalization: http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/toc.htm

  • VARCHAR2: 8 k limit when you use a multibyte character set

    Hi people,
    Apex 3.1.2 on 10.2.0.4 RAC on linux; the character set standard for my organization is AL32UTF8.
    The apex database contains all non-US7ASCII character.

    In a part of the URL, I just came from a package XML strings that are concatenated and passed as a parameter to Anychart.swf. Once my concatenated string exceeds 8 k I get "ORA-06502: PL/SQL: digital error or value." This is because on a UTF8 database are reserved to 4 bytes for each character; whether coded on several bytes, or not - and the varchar2 (32767) is exhausted.

    It is a severe limitation as the XML table can easily exceed 8 k.

    What choices do I have?
    -If I change my database in US7ASCII he works my limit for the concatenation in a region with a real 32,767 characters? Better, but still limited.
    -are there functions to force a single byte per character conversion - I don't think so, but just in case where...
    -would spend using CLOB? I'm worried it might slow down processing low-response time is one of the main motivations for going to the whole problem in the first place.

    My code looks like this:

    DECLARE
    Xml1 VARCHAR2 (4000);
    xml2 VARCHAR2 (4000);
    XML3 VARCHAR2 (4000);
    xml4 VARCHAR2 (4000);
    str1 VARCHAR2 (32767).

    pkg_chart. Gen_Chart_Xml5
    (p_chart = >...)
    , p_Location = >...
    , p_timescale = >...
    , p_Day = >...
    , p_RETURN1 = > xml1
    , p_RETURN2 = > xml2
    , p_RETURN3 = > xml3
    , p_RETURN4 = > xml4
    );
    str1: = xml1. xml2 | XML3 | xml4;

    .. .and later
    var Chart1 = new AnyChart();
    Chart1.SetData ("' | str1 |) ''');
    Chart1.write ("chartDiv-1");

    Right now my code fails in concatenation in str1 if the total length is more than about 8 k.
    I've seen different messages about CLOB handling in the apex and it seems to be fraught with problems too: so I was wondering if anyone has any advice on how to best proceed. or could you show me an example to do something like this using CLOB instead.

    Thank you very much!
    Mark

    Published by: Mark Teehan on October 12, 2009 02:22

    Hello

    I was about to hit you up an example when I spotted a recent blog post of someone I know called Morten Jensen.

    His blog is here [http://theworldofjensenmo.blogspot.com/] and here is the relevant quote...

    >
    He must be a procedure which will be "buffer printing" CLOB. The procedure to come htp.prn with the PL/SQL Web Toolkit in the Oracle database allow up to 8192 characters to print at a time, which is too few in my case. So this function below will share a CLOB up to 256 character fragments and htp.prn them one at a time.

    create or replace PROCEDURE HTP_BUF_PRN
    (p_text IN CLOB
    ) AS
    l_buflen INTEGER: = 256;
    BEGIN

    FOR i FROM 0... Floor (length (p_text) / l_buflen) LOOP
    -HTP. PRN will not accept lines up to 8192 characters - that's why this function is required
    HTP. PRN (substr (p_text, i * l_buflen + 1, l_buflen));
    END LOOP;

    -htp.prn (substr (p_text, LENGTH (p_text) - (LENGTH (p_text) mod l_buflen), LENGTH (p_text) mod l_buflen));

    END HTP_BUF_PRN;
    >

    He hit me with that feeling of "why didn't I think that!

    I hope this helps.

    See you soon

    Ben

  • Data loss while placing the dump in the database character set al32utf8

    Dear all,
    At the present time our application with data in the database to the character set TH8TISASCII so we are able to visualize the THAI language. Now, we got a new requirement in that, "we must support bothTHAI & CHINESE languages.
    so, we created the new instance and db with character set AL32UTF8. IAM lose some data (which has the THAI characters) and get the following error message during the import of discharge in the new database character set AL32UTF8.

    Error Msg: IMP-00019: rejected due to the ORACLE 12899 error line
    IMP-00003: ORACLE error 12899
    ORA-12899: value too large for column 'ESUPPLYUAT '. "" "" ORGP_ITEMS '. "" SHORT_NAME' (population: 36, maximum: 25).
    Is there any character set other than AL32UTF8 that supports Chinese and Thai languages?
    Otherwise it is any otherway to import data in the database with character set AL32UTF8 without losing data?


    Please provide the solution for this problem.

    Thank you
    Shakur

    Published by: user618734 on October 14, 2008 11:06

    You can first create the table (using lines of script or creating imp table = n), expand the column, and then import the data with ignored errors (imp ignore = y)

  • Cannot configure FF to start with a blank page from today - now starts always with previous session

    I have the Options set to always open with a blank page and until today, which has always worked. But today it always opens with the tabs from the previous session. I certainly do not want. I've upgraded to version 38.0 but this made no difference.

    You can check if you have a user.js file in the Firefox profile folder that affects the pref browser.sessionstore.resume_session_once true value.

    You can use this button to go to the Firefox profile folder currently in use:

    Windows hides certain default file extensions.
    Among them are .html, .ini and .js, .txt, so you can see only file name without the file extension.
    You can see the type of actual file (file extension) in the properties of the file via the context menu in Windows Explorer.

    The user.js file is present than if you or another software has created this file and normally it wouldn't be here.

    You can check its contents with a text editor (right click: 'Open with'; do not double-click).
    The user.js file is read whenever Firefox is started and initializes the preferences to the specified value in this file, so the preferences set via user.js can be changed temporarily for the current session.

    You can remove the user.js file if you do not create this file yourself.

Maybe you are looking for