Special Character being replaced by Question Marks in Java Mapping

Hi All,
I need some help on Java Mapping related to special characters.
The problem is that i'm using a Java Mapping to add some information to the XML inside the Interface Mapping. This works fine on our development environment but, in our production environment, it replaces the special character with question marks (eg.: á --> ??).
I'm suspecting of some configuration on the Java Virtual Machine that sets the encoding, but i don't have access to it. Does anyone have any clues about this problem?
Thanks a lot,
Leonardo

Hi Leonardo
Have a look at this forum thread, this might help you to solve your problem.
Java Map Causing error because of ampersand &

Similar Messages

  • TradeMark Symbol and Registered Symbol are being replaced by question marks

    Hello Everyone,
    I am using RTF template to generate report in PDF, otherwise "Trademark and Registered" symbols from the field data are being replace by "question marks".
    Any suggestions please.
    Regards
    Charan

    Hi Tim,
    I followed the steps to map external font from this link
    http://www.oracle.com/technology/products/xml-publisher/demoshelf/shelf.html
    Actually, i am not able to find the font name for these kind of symbols (like trade mark or Registered) and also, i am fetching the data from database and them printing on PDF (like a standard process). This trademark symbol is in database.
    Regards
    Charan

  • 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.)

  • When i open emails, the text is replaced with question marks and boxes

    i have a macbook pro and when i open email attatchments which are mainly bodys of text, the text is replaced with question marks in boxes, any ideas as to how to help this or even fix it completely!?

    It means the text is a font not supported by whatever you are using

  • Stacks replaced with question marks. Why?

    I made several stacks with Apple and 3rd party applications. After the mac was awakened from sleep mode, the stacks were replaced with question marks. Anyone know why? and how this can be avoided?
    Thanks

    I finally figured out what I was doing wrong. I listened to the Apple Rep. He told me to make a folder on the desktop, put in the aliased apps and put it as a stacked folder on the Dock. Wrong!!! This folder has to be made as a subfolder of the Documents folder. Then this folder holding the aliased filed is dragged to the Dock. The reason is simple. Whatever folder is made on the Desktop and put on the Dock as a stacked folder leaves a copy on the Desktop. When this is Trashed and the Trash bin is emptied, so is the stacked folder. By dragging it from the Documents folder, nothing is left on the Desktop.

  • Ü Character being replaced ? when writing the data to CSV from DB in Linux

    Hi All,
    Can anyone help me in understanding the exact cause of my issue
    Issue Description: Ü Character being replaced ? or when writing the data to CSV from DB in Linux.
    Shell used: ksh
    Actual string: MÜNCHENER RÜCKVERSICHERUNGS-GESELLSCHAFT AG
    Output String: M?NCHENER R?CKVERSICHERUNGS-GESELLSCHAFT AG
    locale ouput:
    LANG=en_US.UTF-8
    LC_CTYPE="en_US.UTF-8"
    LC_NUMERIC="en_US.UTF-8"
    LC_TIME="en_US.UTF-8"
    LC_COLLATE="en_US.UTF-8"
    LC_MONETARY="en_US.UTF-8"
    LC_MESSAGES="en_US.UTF-8"
    LC_PAPER="en_US.UTF-8"
    LC_NAME="en_US.UTF-8"
    LC_ADDRESS="en_US.UTF-8"
    LC_TELEPHONE="en_US.UTF-8"
    LC_MEASUREMENT="en_US.UTF-8"
    LC_IDENTIFICATION="en_US.UTF-8"
    LC_ALL=
    Environment variable set: NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    Linux Version: 2.6.18-128.el5 128 bit
    java Version: 1.6
    Oracle DB version: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
    When i query directly from DB i get the data in right format but when i write the same data to a csv file then the above problem occurs.
    Can anyone please suggest me what could be the cause for this issue?
    Regards,
    Shiva

    Hi Srini,
    We are using Java based ETL specifically written for our application. we are using sqlplus to make DB connections. am using vi editor to see the data. After the Extraction process the data processed in also in the wrong format.
    Regards,
    Shiva

  • 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.

  • 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?

  • Weblogic 12c Servlet Response - Special characters show up as question mark

    My web app is running on Weblogic 12c (12.1.1) using WebWork + Hibernate. The program streams data (bytes making up a pdf) from a CLOB in an Oracle Database to the AsciiStream of the servlet output response. No exceptions are thrown, but the generated pdf contains blank pages. Comparing the bytes of the generated pdf, special characters are showing up as question marks.
    Some of the bytes read in from the database contain 8 bits (correct data), but the bytes that the servlet return contain only 7 (all bytes with 8 bits become "1111111"). The number of bytes returned from the servlet is correct.
    Code:
    //Response is HttpServletResponse
    response.setContentType("application/pdf");
    response.setHeader("Content-Disposition", "inline; filename=\"test.pdf\"");
    out = response.getOutputStream();
    byte[] buf = new byte[16 * 1024];
    InputStream in = clob.getAsciiStream();
    int size = -1;
    while ((size = in.read(buf)) != -1){
    // buf contains the correct data
    out.write(buf, 0, size);
    // other exception handling code, etc
    out.flush();
    out.close();
    "Correct" pdf byte example:
    10011100
    10011101
    1010111
    1001011
    1101111
    11011011
    Incorrect pdf byte example:
    111111
    111111
    1010111
    1001011
    1101111
    111111
    I have verified that the data read from the CLOB in the database IS correct. My guess is that the Weblogic server has some strange servlet settings that causes the bytes to be written to the servlet output stream incorrectly, or a character encoding issue. Any ideas?
    Edited by: 944705 on Jul 26, 2012 10:17 AM

    Solution found, I'll post the work around to those who might encounter the same problem.
    Somewhere in the layers of technology (webwork or weblogic I'd guess), the servlet response is encoded into UTF-8 regardless. The encoding in the database was ISO-8859-1. Sending ISO encoded bytes by UTF-8 caused the conflicting character codes (anything above 127) to show up as undefined.
    The fix is to decode the input byte array into ISO-8859 string, then encode that string into UTF-8, which can be send by Weblogic.
    isoConvert = new String(buf, "ISO-8859-1");
    out.write(isoConvert.getBytes("UTF-8"), 0, isoConvert.getBytes("UTF-8").length);

  • Dock icons (except finder) have been replaced by question marks (?'s)

    Hi - I was recently creating some user accounts and trying to set up some file sharing, although, when I returned to my account the dock icons had all been replaced by ?'s and I can't seem to use any of the programs.

    Further to this, I have fixed the problem. I had inadvertantly taken away my own permission to access the applications folder and everything in it. Once I reinstated my permission, the question marks disappeared leaving everything as it was. Problem solved.

  • Links replaced with question marks

    I have two songs I placed on my site. I noticed tonight that the links are not there and instead there are two question marks.
    So, I uploaded the site again and still there are question marks. Then I looked at the index folder on my desktop and the links are right and good there.
    Everything else on the site seems fine.
    I use Transmit and have never had any problem until now. I can only assume that something weird and wrong is happening in the ftp process. Right? I went back after uploading the whole site and replaced just the two folders for that page, with no change in the result.
    I also emptied the cache in case I was looking at an old version of the page.
    If anyone has any suggestions I would appreciate them. This is not urgent, the songs are mainly there for fun and diversion. Still, I'd like them to get back up.
    The url for that page is: http://www.pantherpeakbindery.com/Club19.html

    Here's where I am with this:
    In Safari (both my iBook and my wife's Powerbook) I get question marks where the songs should be.
    On two PCs at work, using IE, I get a Quicktime logo which cannot be activated.
    Using Firefox on a Mac I get the songs right away. Using Firefox on my office PC I get a Quicktime application warning, though the songs will play.
    Was there some upgrade to Quicktime which might be behind all of this?
    I'd appreciate any ideas. Thanks!

  • Character recognition results in question marks using CuteFTP

    I'm have trouble with character recognition when I upload my site to Network Solutions using CuteFTP. Some returns, apostrophies, etc. appear as question marks. I have tried changing the prefernces to Macbinary and to binary without any change. Any suggestions?

    For my own education...
    Would my solution have worked?
    I realize that it's not a true fix. It's a
    workaround. However, I'd like to know if it would
    have made a difference.
    Yes, if you confine your text to pure ascii, without any "smart" punctuation, that may work. However, the templates often have other non-punctuation characters in them already that cause the same kind of problem and removing all of them could be really tedious.

  • Character encoding problem. Question mark in a diamond??

    I have gotten this a few times before, but it usually fixes when I switch the encoding. This time absolutely nothing is working. In browsers like Safari, you can see what the black diamond and question mark really is. It's just supposed to be an alt-bullet. If I copy and past it, it turns out fine. I included the url of the site affected. My encoding is currently on Western (ISO-8859-1) and the auto detect is on universal. Anyone have a solution

    I assume hat you mean this character: • (•)
    http://en.wikipedia.org/wiki/Bullet_%28typography%29
    If you see a Question mark in a diamond then that means that the font that Firefox uses doesn't map that character.
    It is in a code block with: font-family: courier new,Verdana,Arial;<br />
    You can check those fonts

  • I upgraded to Keynote 6.2.2 and deleted the old Keynote application. Now all the content is gone and replaced with question marks

    Lost all content and now my lectures are reduced to slides with some text and question marks were images/content used to be. Incredibly frustrating. How can I get my content back?

    Re-install iWorks 09 and you will be up and running again.

  • Apps replaced with question marks?

    I just bought an iPhone 5s from ebay. It arrived with a US plug and US instructions even though i live in the UK and the sender was from the UK. I plugged it into my mac computer and it loaded up on iTunes then instantly chrome had to force quit and I had to report the problem. I then restarted the mac and when I logged in, all the apps were unaccessable and had large question marks where the app icon would have been before. I can still access my files and safari however iTunes, app store, chrome etc have all disappeared. I have read that they could have been deleted or moved and to relocate them back to the dock via applications folder however the apps are not in the applications folder or anywhere on the computer after doing a search. Please help!

    I would return the phone for credit or contact eBay and claim the product was not as advertised.
    As an aside, I would never buy a used electronic device (iPhone or anything else) on eBay (or anywhere else) unless I knew the seller personally.
    Barry

Maybe you are looking for

  • Installing EBS 12.1.3 Database tier on 64 bit & Application tier on 32 bit

    Hi Gurus, we want to install the MOC ,EBS 12.1.3 on below two machine Database tier on Windows Server 2008 (64 bit) Database Oracle 11.2 (Already have database having JDE schema) Application tier on Windows Server 2008 (32 bit) Below are the step we

  • How to prolong U410 battery life?

    Hey guys, Just bought a IdeaPad U410 a few days ago. I have tested the battery life, and it was pretty decent after uninstalling Smart Update (5 - 6 hours of casual use).  However, because of my previous experience of using Acer and Toshiba laptops,

  • How to specify desktop shortcut icon for JWS-JNLP app?

    Hi, When JWS sets a shortcut on the desktop for the app that I wrote, it just uses the Java cup icon. How can I get it to use my icon instead?

  • Why supplier needs to be maintained twice in COMMPR01 for interlinkage?

    Hi Everyone, if I want to create an interlinkage in COMMPR01 (price-product-vendor-relationship), I need to maintain the vendor twice. Once within the tab "conditions" and once within the tab "relationships". Does onyone out there have a clue, if the

  • Editing text tries to open previous document revision.

    We just upgraded to CS5 and after a corrupt font file prevented us from opening CS4 and CS3 documents in CS5, we have most of hte glitches figured out. Except... After I convert a CS3/4 document to .imdl then open it in CS5 and save as a CS5.indd, wh