Values are returned as question marks.

I have set up a UTF-8 database, on my english version of WinXP..
SELECT * FROM NLS_DATABASE_PARAMETERS;
.. shows this is correct - UTF8
I have set up NLS_LANG variable in windows, to be "American.America.UTF8"
Using SQL*Plus worksheet I can update a row in my database to contain chinese characters. I dont know what the chinese means, but I can copy and paste from another application, and the glyphs looks the same in the source and SQL*Plus worksheet.
I can then select the row ..
SELECT * FROM THETABLE WHERE THECOLUMN = '{CHINESECHARS}';
The correct row is returned, but the column is shown with just question marks, instead of the glyphs I expect.
(This also happens with the web application I am developing which also seems to return qurestion marks. (PHP not JSP))
Can anyone shed any light on this problem as I am completely stuck.

Check these notes# 132453.1, 152260.1 & 158577.1 out on metalink also for further good details. This may/may not work for Chinese yet it should steer you
in the right direction.. It's the combination of the NLS_LANG and Active
Code page settings on the client as well as the database characterset. I believe you say the database character set is UTF8. That part should be correct. It's then the client side combo's that do the trick. It's trying differing combo's until he desired results are achieved. Having not worked with Chinese I can
give you an example of what I've experienced...
These are the following steps I performed to enable the client SQL*Plus (command line and GUI) and SQL*Worksheet to display/input the euro currency symbol correctly for example...
1) Search from the top of the registry (regedit) for ALL occurrences of NLS_LANG and make the value AMERICAN_AMERICA.WE8MSWIN1252.
2) Go to the following registry entry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage\ACP
and change the active code page (ACP) to 1252. If there is an OEMACP entry there change that also to 1252.
3) Reboot the PC
To test .. go to DOS and enter at the prompt..
E:\>chcp
Active code page: 1252
If the above message IS NOT 1252 you must have missed editting the registry entry
explained above. However you can change it for this session by entering
E:\>chcp 1252
- < Set font to Lucida Console (in Properties, Font tab) >
To get the UNICODE characters you want insert into the database do the following
E:\>charmap
You will see a display of different characters.
If you click on advanced view at the lower right corner a search screen comes up. Enter UNICODE for the character set, ALL for group by and EURO for the search for and the euro currency symbol will come up. This is one way how the user can enter this character into the app. You can copy the character in this function as you can see and then you can paste it elsewhere. Copy whatever character you want to test with. My test was with the euro currency symbol.
E:\>sqlplus.exe <user>/<pwd>
SQL*Plus: Release 8.1.7.0.0 - Production on Fri Jul 13 13:22:19 2001
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option JServer Release 8.1.7.0.0 - Production
SQL> create table t (a char(3));
Table created.
SQL>insert into t values ('');
1 row inserted. SQL>
commit;
SQL> select * from t;
A
If the all the registry edits were performed correctly this will work with
SQL*Plus GUI and SQL*Worksheet.
Check these notes# 132453.1, 152260.1 & 158577.1 out on metalink also for further details real carefully.

Similar Messages

  • Arabic characters are displaying as question marks in forms 10g

    We have migrated our application from forms 6i to forms 10g and now in forms 10g the arabic characters are displaying as question marks while it displays correctly in the old application using forms 6i. I have already set the character set to AR8MSWIN1256 in the registry, but it didn't help. Somebody please help.

    @ Sarah, Al-Salamu Alikum We Rahmatu Allah we Barakatu,
    Sarah Habibty, why new installation ? In order to select a new suitable character set !!!
    Then creating a new instance from the db is a better alternative since it saves time,effort and another back up of his current db is exist safely if needed for any purposes in the future.
    @Amer,honestly speaking...
    Modifing ur NLS_LANG to > AMERICAN_AMERICA.AR8MSWIN1256
    Works for me in both Arabic and English data in 2 applications.This works in my pc.But it didn't works at my boss pc this can happened don't have any reason for that.!!!!
    i spent lot's of time trying to search but what i had got is that solution i suggested by a friend of mine.
    Now please could you advise me, is it better to create a new instance of database as Amatu Allah has suggested or is it better to change the character set through sql as some others have suggested? Again i suggest to select the short cut way ; to reset the character set through sql after taking a back up from ur data that is currently exist.
    then retest again doing the select and test ur data input and retrieval.
    SQL> select * from v$nls_parameters
    2 where parameter in ('NLS_CHARACTERSET','NLS_LANGUAGE');watching the output if it works that's fine saving ur time & effort .
    if not working with the correct NLS_CHARACTERSET then use my previous solution.
    Hope this helps...
    Regards,
    Amatu Allah

  • Apostrophes are replaced by question marks in output string?

    Hi Guys
    I think this is an encoding problem but I cannot find it in the forum archives. My apostrophes are being replaced by question marks on my jsp output?
    Any idea why and how to get them back to apostrophes
    Cheers, ADC

    Guys, the 3rd party product has no trouble at all
    showing the apostrophes from the self-same database
    that I get question marks from.
    This MUST be an encoding issue, so anyone that knows
    about encoding and changing it please could you
    suggest something. You can take for granted that one
    way or another the character in the database IS an
    apostrophe as verified by viewing it via the 3rd party
    product we have.You said...
    In the SQL database view they come out as squares
    Were you referring to the normal applications that are available for viewing data for the database (like SQL*Plus or Enterprise Manager?)
    If yes, then if it was me then I would presume it was not an apostrophe and that the third party tool was mapping the real character to an apostrophe. A 'square' indicates an unusual character in viewers.
    Are you using EBCDIC? Unless EBCDIC is involved apostrophe has the same value in most if not all character sets because ANSI forms the lower range for most character sets. I know for example that Korean, Japanese and Chinese character sets use ANSI, as does unicode (with padded zeros for the wider ranges.)

  • Special characters are changed to question marks

    I'm using SQL developer 3.107 for unit testing.
    In a particular unit test, the expected result is a sentence (varchar2) with a special character (ë).
    But when I save the result, SQL developer changes the character to 2 question marks.
    And as a result, the unit test fails because the expected result differs from the received result (where the 'ë' remains unchanged).
    I already tried changing the encoding in the SQL Developer preferences from cp1252 to UNICODE and UTF8 but that didn't help.
    Any suggestions?
    Thanks in advance

    Hello:
    I guess that what you observe could be an interaction between the server characterset and the client characterset.
    These are the results with different client characterset settings:
    NLS_LANG=american_america.WE8ISO8859P1
    select 'ë' c, dump('ë') dumped from dual;
    C DUMPED
    ë Typ=96 Len=1: 137
    NLS_LANG=american_america.WE8MSWIN1252
    select 'ë' c, dump('ë') dumped from dual;
    C DUMPED
    + Typ=96 Len=1: 191
    set NLS_LANG=american_america.WE8PC850
    select 'ë' c, dump('ë') dumped from dual;
    C DUMPED
    ë Typ=96 Len=1: 235
    According to the ISO 8859-1, 8-bit single-byte coded graphic character sets document [http://www.open-std.org/JTC1/SC2/WG3/docs/n411.pdf] the encoding of the latin small letter e with diaeresis is 0xEB -> (decimal 235).
    If you set the client to WE8PC850 do you see a correct behaviour?

  • Slideshow controls are shown as question marks

    I know since the end of MobileMe the pop up slideshow doesn't work properly.  I'm trying to fix the missing controls.  When you click play slideshow, the slideshow pops up, but at the bottom, the play/pause, etc. controls are question marks.  I've tried to follow Old Toad's tutorial listed here:
    http://www.oldtoadstutorials.net/No.iW14.html
    but I am still having problems.
    I have mulptile sites in iweb that have already been published with slideshows.  So, I need to fix all of them at this point.  I've changed the item that he refers to in the tutorial and uploaded it to the website's server.  I've tried putting in different folders; the scripts folder, the slideshow_files folder, just in the root folder, but it is not working.  What am I missing?  Any thoughts about what I need to try next.  Thanks for your help!

    If you are changing the script in the iWeb package you will need to republish every slideshow from iWeb for the updates to appear in the published version.
    You could modify the local or remote versions of the file outside of iWeb but you would need to do this every time you publish changes to your site. See [2]...
    http://www.iwebformusicians.com/Banner-Slideshow/iWeb-Slideshow-Assets.html

  • Some characters are replaced by question marks!

    All of a sudden my iMac (OS X 10.5.1 Leopard) is displaying question marks for some special characters.
    For example, on internet, look up a word "pediment" in Yahoo! Dictionary ( http://education.yahoo.com/reference/dictionary/entry/pediment)... Instead of showing the "dot" symbol to identify a syllabus break, it shows question marks as ped?i?ment, and instead of showing c with a little squiggle underneath for a word facade (within the definition of pediment), it shows fa?ade.
    I did not have this problem on my iMac on Tuesday (01/29/08) morning and I have not installed anything other than the Apple updates.
    I tried with FireFox and Safari, and both show the same thing. Then I went and checked my husband's iMac (OS X 10.5.1 Leopard) and it has a same problem, so I know it is not just my iMac.
    Then (yes, there is more...) I started to work on my Word document and tried to insert "symbol" from insert on the Toolbar... many of my symbol fonts (Symbol, Osaka, etc) has question marks replacing special characters.
    Please help! I am unable to complete my work without these special characters!!

    Well, I went to the Yahoo! Dictionary "Pediment" and it said it was set to Default which is set to Western (ISO Latin 1), so I assumed it was Western (ISO Latin 1). But when I click on Western (ISO Latin 1), the pages appear what it's supposed to look like with special characters... What does this mean?
    I reset all the settings; I chose something else as default, quit Safari, opened it and chose Western (ISO Latin 1) as a default to see if it changes anything... No change. It says my default is Western (ISO Latin 1), but it seems not.
    I am officially confused and have no clue what to do...??????!!!!!
    On the bright side, at least I can get my work done, even if I have to change the encoding one page at a time... Thanks.

  • PDF mail attachments are shown as question mark instead of preview or icon.

    When I receive a mail with PDF attachment, I can see paper clip on the header of mail. This is fine. However, Apple Mail does not show as preview or icon. I can see only a box with border and a question mark sign "?" in the middle. If I click the "?" symbol, preview opens the PDF attachment properly.
    It is fine for other mail attachment such as .DOC or .JPG. Either I can see preview or as icon.
    Is there anybody who knows the solution of this problem?
    P.S. I use OS X Yosemite 10.10.1 but problem was existing also with Mavericks.

    No, I don't think so. Same attachment is shown properly on the my colleague's Mac who is another recipient for same e-mail. There is something wrong about my Mac.

  • Japanese Characters are showing as Question Marks '?'

    Hi Experts,
    We are using Oracle Database with below nls_database_parameters:
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET WE8MSWIN1252
    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_CHARACTERSET AL16UTF16
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_CSMIG_SCHEMA_VERSION 3
    NLS_RDBMS_VERSION 11.1.0.7.0
    When we are trying to view the Japanese characters (windows 7) in SQLdeveloper, toad or sqlPlus, we are getting data like '????'.
    Can anybody please explain us the setups required to view the Japanese characters from the local machine and database.
    Thanks in advance.

    user542601 wrote:
    [Note: If I insert the Japanese characters from Sql Developer or Toad, I am unable to see proper results.]For JDBC connections in Oracle SQL Developer, I believe a different parameter setting is required.
    Try running Sql Dveloper with jvm option: -Doracle.jdbc.convertNcharLiterals=true.
    I need to use this data in Oracle 6i Reports now.
    When I am creating reports using the table where I have Japanese characters stored in NVARCHAR2 column, the value is not displaying correctly in Report Regardless of Reports support for nchar columns, 6i is very very old and based on equally ancient database client libraries (8.0.x if memory serves me). Earliest version of Oracle database software that support the N literal replacement feature is 10.2. So, obviously not available for Reports 6i.
    I'm guessing only way to fully support Japanese language symbols is to move to a UTF8 database (if not migrating to a current version of Report Services).
    Please help to provide a workaround for this. Or do I need to post this question in any other forums?There is a Reports forum around here somewhere. Look in the dev tools section or maybe Middleware categories.
    Edit: here it is: {forum:id=84}
    Edited by: orafad on Feb 25, 2012 11:12 PM
    Edited by: orafad on Feb 25, 2012 11:16 PM

  • Unicode characters are shown as "question marks" in Eclipse console

    I am trying to retrieve Unicode data from Sybase database using jdbc.
    The data are stored in Sybase with unichar and univarchar datatypes.
    Following is the java code tring to run.
    {color:#808080}public class Test
    public static void main(String [] args) throws Exception
    CoreServiceSoapBindingStub binding_Core = new CoreServiceSoapBindingStub();
    CoreWSServiceLocator locator_Core = new CoreWSServiceLocator();
    binding_Core = (CoreServiceSoapBindingStub) locator_Core.getCoreService();
    Contact[] con = binding_Core.getContact();
    for(int i=0;i< con.length;++i)
    System.out.println(con.getLastName());
    }{color}
    The result of this code in Eclipse console should be as follow (consists of one English and one Japanese name).
    {color:#808080}Suzuki
    &#37428;&#26408;{color}
    However when I run this, I get the following.
    {color:#808080}Suzuki
    {color}
    The alphabetical characters seem to diplay fine in the console, but foreign characters are not....
    The default character set of the database is ISO-8859-1, but I used unichar and univarchar to store data in unicode thus believe no issue at database side...
    Used jconnect 6.05 (com.sybase.jdbc3.jdbc.SybDriver
    ) for the database driver.
    Java files are encoded in UTF-8.
    Console Encoding is UTF-8.
    Is this an issue in database driver?
    Since I set the parameters for character set to UTF-8 in both the database and java files....
    It would be great if someone could give some comments on this issue....
    Thanks a lot.

    It might be better to ask this question on an Eclipse forum. I have a couple of suggestions, but none of them have made the output in my console look entirely correct:
    1. Try to start Eclipse with these parameters: -vmargs -Dfile.encoding=UTF-8
    2. Try switching the font settings for the Console under Preferences in Eclipse.

  • Blank values are returning as 0 in sharepoint workflow

    I have a SharePoint list where one of the numeric fields values is blank. But when I take the value into a variable in designer workflow, It is returning 0. It needs to return blank.
    How to solve this? Please guide me.
    Regards,
    Chaitanya.

    check that the variable being used to store the value is a STRING.
    if you have a NUMERIC variable, it can ONLY store NUMBERS. Since the source value is blank, it is assigned the default numeric value of 0.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Outlook 2010 apostrophe, single and double quotes are changes to question mark while sending mails to other internet receipient.

    We are using MS Outlook 2010 as our mail client. But we have noticed that whenevr we sent a mail to any other internet mail recipient all the "apostrophe", "single" and "double quotes" have automatically converted to ?. We have
    done almost all the workaround found in this site such as
    1.New a message and focus on the message window > click File > Options > Mail > Spelling and Autocorrect… > Proofing > AutoCorrect Options… > AutoFormat > clear the box before “Straight quotes” with “smart quotes”
    2. Used different encoding. We presently using US-ASCII for outgoing message. etc.
    Need your help to sort out these issues urgently.
    Waiting for a solution.

    Hi,
    What is your account type? IMAP, POP or Exchange?
    Send an email from the webmail, ask the recipient if this issue persists.
    As far as I know, this problem is always related to the encoding for outgoing messages, and here I suggest you try UTF-8:
    Go to File -> Options -> Advanced -> International options -> Uncheck "Automatically select encoding for outgoing messages", then select "Unicode (UTF-8)" beside "Preferred encoding for outgoing messages" -> OK.
    Hope this helps.
    Regards,
    Melon Chen
    TechNet Community Support

  • SQL Query returns question marks

    I am seeing a SQL Query, executed via ADODB in VB, from a 10G client (don't know exact version) to a Sun Solaris based 9.2.0.5.0 Server return all question marks...Table queried consists of 3 columns, 2 varchar2, one long: Here query:
    SELECT SETTINGVALUE FROM EWORKFLO.CONFIG WHERE SETTINGGROUP='New test' AND SETTINGNAME='Single Page'
    The query results in 2576 question marks...(????? etc).
    Any idea what may be going on here?
    Thanks...
    Leendert

    Hello Tak,
    Thanks for replying. When this query is run from SQLPLUS we get a proper result back, that is the actual values from the SETTINGVALUE column. This is the LONG column and contains data like this:
    [Scan Section]
    DeviceTimeout=15
    Display=1
    hDCCreate=0
    Unit=0
    DialogTitle=
    IniFileName=c:\winnt\temp\kf.ini
    IniSectionName=Scan Section
    DeviceCache=1
    etc....etc....
    Depending on the settings created, the return string may vary in length.
    Leen

  • Why are some websites displayed with added question marks inside black diamonds

    Numbers are displayed with question marks inside black triangles before and following, possibly as column separators.
    == This happened ==
    Every time Firefox opened
    == I attempted to access financial websites

    Can you post a link?
    You can try a few different encoding settings: "View > Character Encoding" like Western ISO-8859-1 or another Western encoding or UTF-8
    You can also try to switch on Auto-Detect: "View > Character Encoding > AutoDetect > Universal"
    A diamond with a '?' usually indicates that a character is missing in the font that is used on a website or the wrong encoding is used.
    You get the '?' on websites that use an 8 bit encoding like ISO-8859-1 or a Windows encoding like Windows-1252.
    This issue can happen if content was copied from one 8 bit or Unicode encoding to another encoding.

  • Search no mapped unicode characters as question mark

    No mapped unicodes characters are replace by question mark.
    I want to search/detect these characters to correct them (i may spend too much time to find the character "?" in a big document, because of real question mark).
    How can i do ?

    Arnis' .mif suggestion is the way I've tackled this problem from time to time, but save a spare copy before you start <g><br /><br />You may not need to, though. I haven't checked, but see if you can find a page with both a normal question-mark and one you know indicates a unicode character. Then copy/paste the unicode question-mark into the Find/replace dialogue and see what happens; I suspect it will have its own value, not the same as a normal question-mark.

  • IPhoto in dock shows only question mark...

    The iPhoto application in my dock shows a question mark, but I cannot reinstall iphoto.  It can't be found on my hard drive. Help!  My iphoto libraries exist, but cannot be opened.  How or where can I get my application back and re-install it?  It came pre-installed when I bought this Mac.

    Did you check the Trash?
    Do you have any iLife Discs? Did you look on the Original Install Disc(s) for Optional Installs?
    The icons in the Dock are aliases, & the question mark means it doesn't exist where that points to.

Maybe you are looking for

  • Java Job not working

    We have a java job that sends an XML to remote URL by opening OutputStreamWriter to URL and receives the response XML from same URL using InputStreamWriter. This Job is working fine, when running on Solaris Env. Now we have new server installed on Re

  • IE8 won't open link in acrobat file

    Does anyone know any voodoo ******** that will allow me to open a link in a pdf file within the Internet Explorer 8 browser? Security Settings? Anything? Anne R.

  • HTML DB SQL Workshop Output to csv Max Row Count

    I am using HTML DB 1.6 with Oracle 10g 10.1.0.3.0 On SuSE Linux Enterprise Server 9. When I execute a query in SQL Workshop SQL Command Processor that returns a result set of greater than 5,000 rows and click the Output to Excel link, it exports NO M

  • Why can't use thunderbolt drive for Cloud files folder?

    why can't I use thunderbolt drive for Cloud files folder?  It's too big for my limited laptop storage. Thanks

  • Verizon blocking emails with the word Singapore

    Really annoying - within the past week, any email I try to send with the word Singapore in the subject, sometimes in the message, is being blocked by the Verizon outgoing mail server as spam. You'd think they would check the number of "to" addresses