Problem with special characters (umlaut)

Hi,
I have a text box in my form.
when I am entering the normal characters it working fine and the values are
persisting quiet well in the database but when I am entering special characters (umlaut characters),
it is not storing them properly in the database.
I have checked in the logs at the application server side and the problem is while getting the values from
the request. The JSP which is submitting the request I have explictly put the following line:
request.setCharacterEncoding("iso-8859-1");
But this also not seems to be working.
Could you please let me know the resolution of this problem.
Thanks in advance
Amit

Hi,
Thanks for the reply.
I have checked the database and there is no problem there.
To check if I am getting the correct values from the JSP I have put the following code in my action class:
                              if(columnName.equalsIgnoreCase("REMARKS"))
                                   log.debug("Character Encoding value of � is "+Character.getNumericValue('�'));
                                   log.debug("Character Encoding value of � is "+Character.getNumericValue('�'));
                                   log.debug("Character Encoding value of � is "+Character.getNumericValue('�'));
                                   log.debug("Character Encoding value of � is "+Character.getNumericValue('�'));
                                   log.debug("Character Encoding value of � is "+Character.getNumericValue('�'));
                                   log.debug("Character Encoding value of � is "+Character.getNumericValue('�'));
                                   String str = value.toString();
                                   char[] remarkArray = new char[str.length()];
                                   str.getChars(0, (str.length()-1), remarkArray, 0);
                                   for (int i = 0; i < remarkArray.length; i++)
                                        log.debug("Encoding value of "+remarkArray[i]+" is "+Character.getNumericValue(remarkArray));
In the remarhs I am setting the value in the form as "������"
and I am getting the following in the logs:
Character Encoding value of &#9472; is -1
Character Encoding value of � is -1
Character Encoding value of &#9604; is -1
Character Encoding value of � is -1
Character Encoding value of � is -1
Character Encoding value of � is -1
Encoding value of &#9500; is -1
Encoding value of &#9488; is -1
Encoding value of &#9500; is -1
Encoding value of &#9488; is -1
Encoding value of &#9500; is -1
Encoding value of &#9488; is -1
Encoding value of &#9500; is -1
Encoding value of &#9488; is -1
Encoding value of &#9500; is -1
Encoding value of � is -1
Encoding value of &#9500; is -1
Encoding value of is -1
Kindly suggest what may be the issue??
Amit

Similar Messages

  • Problems with special characters like "u00F6" "u00E4" "u00FC"

    Hi,
    we currently face some major problems with special characters like "ö" "ä" "ü". First I thought it is a SP02 specific problem but it still doesn't work with SP03.
    When I start an import the import manager shows correct converted value. "ö"s "ä"s "ü"s are displayed correctly. But after I've done the import I look into the Data manager and I see instead of these characters charcaters like "&#776;". (note: the character should show a little square box - but the forum cannot desplay it)
    How can I solve this problem?
    Regards
    Nico

    Hi Nico
      Just try it out the following steps, hope it solves ur issue.
    <b>To set one or more values back to their original values:</b>
    1. In the Import Manager Source Values grid, select the values that you want to set back to their original values.
    2. Right-click on one of the values and choose Set to Original Value from the context menu, or choose Values > Apply Value Conversion Filter > Set to Original Value from the main menu.
    3. MDME sets each value back to its original value, which appears in black in the Source Values grid.
    <b>NOTE : You can use the Set to Original Value filter only at the value-level and not at the field level.</b>
    thanks
    Alexander

  • Problems with special characters in InputStream or XPath

    Hello everyone,
    I am having problems with special characters such as ", ', - and so on, everything becomes ? (questionmark). (Not with special nordic characthers (å,æ,ø) though.)
    The encoding of the XML is UTF-8, and the server that holds the webservice is setting encoding to UTF-8 also, so no conflict there.
    What I have done is something like this:
    {code}
    String url = "http://www.formula1.com/rss/news/latest.rss"; // This is not the feed I use, it is a custom XML document
    InputSource is = new InputSource(url);
    DocumentBuilderFactory fct = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = fct.newDocumentBuilder();
    Document doc = builder.parse(is);
    Element rootElement = doc.getDocumentElement();
    XPathFactory factory = XPathFactory.newInstance();
    XPath xPath = factory.newXPath();
    out.print(xPath.evaluate("/rss/channel/title", rootElement)); // The xml is not a RSS feed, this is just an example.
    {code}
    Please let me know what I am doing wrong, or give me a hint of how to solve this in another way.
    Best regards,
    G.Hansen
    Edited by: G.Hansen on Mar 24, 2009 2:39 AM

    Hello, thanks for you reply. I had to rewrite your code a little, and I think that your code would not really compile, if you tried yourself :-)
    I ended up with something like this:
    our environment is running in 1.4 mode, so I could not use the for-each loop :-(
    public String printEntities(String s) {
         char[] sArray = s.toCharArray();
         StringBuffer sb = new StringBuffer();
           for (int i = 0; i < sArray.length; i++) {
             if (sArray[i] > 256)
                  sb.append("&#x" + Integer.toHexString(sArray) + ";");
         } else
              sb.append(sArray[i]);
         return sb.toString();

  • Problems with special characters with XML/PDF printing

    Hi,
    Our setup:
    Apex Listener 2.0.5
    Oracle DB 11G
    Weblogic
    Apex 4.2.2
    Various recent major browsers
    We used this blog post so we could do some PDF printing with APEX Listener:
    http://marcsewtz.blogspot.be/2013/04/pdf-printing-with-oracle-application.html
    The problem is special characters. For example the "&" sign comes out as "%26amp;" when we export an XML.
    Could anyone provide some insights of what we can do to fix this?
    Regards,
    Joni

    This is a known bug.
    https://support.oracle.com/epmos/faces/BugDisplay?_afrLoop=957905848396285&id=18282188&_afrWindowMode=0&_adf.ctrl-state=168vq5zhn3_233
    The bug 18282188 has been fixed in Apex 4.2.5 version.
    Upgrade the Apex version to 4.2.5 when it is available.

  • Problems with special characters in JSP app

    Hello!
    I am working for a JSP application which uses special characters.
    The database used is a Novell MySQL version, it is fine.
    I use Tomcat, Apache.
    I do not think that the versions are important.
    ON NT:
    The application works fine with special characters.
    Obs: I tried only with Tomcat; I didn't use Apache.
    ON NOVELL:
    If I try to insert some special characters,
    they arrive just fine into the database.
    The problem is when I want to display them.
    I tried with jsp directive to set the charset,
    or with HTML meta tag - no result al all.
    Everytime I use the same work station, and the same browser to do the tests.
    Please help with any ideas.
    Another question, maybe relayed:
    Can I set Tomcat so that when it creates the servlets it uses a custom charset I can indicate?
    THANK YOU!

    The characters I want to use are french characters, e-acute, etc.
    I take the data with request.getParameter, POST method, etc.

  • Problem with special characteres

    Hi. I have a problem with java. I�m making an application that works with special characters and displays correctly on my local machine, as I use escape characters such as &igrave; for �. The problem is when I deploy the application on a unix machine. All of the special characters (�, �, �, etc) appear like a �?� (question mark). Any tips, please?
    Thanks in advance

    Andy2008 wrote:
    Hi. I have a problem with java. I&#146;m making an application that works with special characters and displays correctly on my local machine, as I use escape characters such as &igrave; for �. The problem is when I deploy the application on a unix machine. All of the special characters (&#145;, �, �, etc) appear like a &#147;?&#148; (question mark). Any tips, please?First step: read [this excellent introduction into Unicode|http://www.joelonsoftware.com/articles/Unicode.html], it will give you the basics you need to solve this problem.
    How do you input and output those characters? Simply print them to the console? Or write them to a HTML file (since you mention &<something>; notation)?
    "?" is normally the result when you convert a String (which is always in UTF-16 encoding in Java) to an encoding that can't represent your characters (ASCII for example).

  • Problem with german characters (Umlaute) when working with JDev for Linux

    Hallo ...,
    i have a site in uix code under Linux. When i want to use ... confirm("...löschen...?") the JDeveloper can't handle the ö. When i want to use &ouml; i've got an error. It's only when i work under Linux. When i make the same under Windows i can use ä, ö, ü. What can i do?
    Any help is appreciated.
    Thank you

    Tom Gewecke wrote:
    w/ all the keyboards and language settings.
    What do you mean by that? The problem being talked about here is an inability to make French accented characters on a German keyboard. What is your problem exactly?
    I've posted here because I guess it may be the same bug.
    After upgrading I wasn't able to do special characters, including some accented vocals, like "ì", very common in italian language.
    Then I've added an english keyboard, removed the italian one and added it again, so the problem with missing accented vocals was solved.
    I still have the same problem with special consonants, like "z" and "c": if I hold my thumb on such letters, I have no options like, say, "ż" (such characters are very important for my field (linguistics) and if Apple won't solve this problem I'll be forced to look elsewhere).

  • SMARTFORM problems with special characters

    Hi everybody,
    only to know if somebody knows how to fix a problem printing special characters in a smartform, instead of some characters the smartform display (Print preview)  and prints interrogative symbols <b>"?"</b>.
    If someone knows about this problem, it will be helpfully for me,
    thanks and have a good day

    HI
    To display Special characters in Smartforms ...
    goto text editor of the perticular text node.
    in the text editor, Click INSERT - Characters - Displayable Characters.
    a new window will open showing all characters...if ur required character is not
    present, click on non-dispalyble character button , it displays all the characters
    and their respective numbers...select ur required character .
    Check it, if it is helpfull reward points..
    Thanks
    REGARDS
    DINESH

  • Problems with Special Characters on Exchange Email

    Hello:
    People I have a issue with our Corporate Email on my Iphone. We use Exchange 2003 and we have users with special characters on his emails address.
    I receive fine the email, just appear a errors on the display name. The issue is when I try to reply thie email. A error message popup said:
    Invalid Address
    "email with special characters" does not appear to be a valid email address. Do you want to send it anyway?
    If I press Yes, Iphone try to send the message But I receive another error message:
    Cannot send Mail
    An error ocurred while delivering this message.
    Any Help or Idea?
    Here My Email Configuration
    Email = Email
    Server = Server IP
    Domain = Work Domain Name
    Username = my user id
    Password = my password
    Description = Work
    Use SSL = ON
    S/Mime = Off

    When I Said "we have users with special characters on his emails address" its mean users with ñ,ó, ú, Ñ on his emails address. 
    When I said "just appear a errors on the display name" I mean characters like Âñ¡
    Thanks

  • Problem with specials characters like '€' or 'œ'

    Hello,
    I'm having troubles with specials characters such as '€' or 'œ'.
    I use an application connected to a 9.2.0.7.0 database on a w2003 server.
    Characterset of the database is FRENCH_FRANCE.WE8MSWIN1252.
    In my workstation the value of [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLS_LANG] is also FRENCH_FRANCE.WE8MSWIN1252.
    But when I type such specials characters through the application, they are replaced by '¿' in the database. The datatype of this column is varchar2.
    Can anyone help me ?
    thanks
    Antoine
    Edited by: Antoine.M on Aug 19, 2009 12:45 PM

    Is your application a java application ? if so, pl see MOS Doc 365874.1 (Euro Symbol/Trademark Symbol is Garbled When JDBC Thin Driver Retrieves Data from a Database with Characterset WE8MSWIN1252)
    HTH
    Srini

  • Problems with Special Characters in DBs...

    We have just moved a set of tables from one db on one server to another db on another server. the only problem is that some special characters held within data on the tables aren't showing up properly on the new db. characters such as a circle with an 'R' in (as in registered trademark), or vowels with umlauts over them.
    THe db is used by a website and it is the development version of the website which uses the new db that is not displaying the characters properly. The characters are also displayed incorrectly within sql plus 3.3.
    If anyone could point out why the new db is not storing the characters correctly i would unmeasurably grateful.
    Thanking you in advance
    Ewan Gibb.

    Hello, thanks for you reply. I had to rewrite your code a little, and I think that your code would not really compile, if you tried yourself :-)
    I ended up with something like this:
    our environment is running in 1.4 mode, so I could not use the for-each loop :-(
    public String printEntities(String s) {
         char[] sArray = s.toCharArray();
         StringBuffer sb = new StringBuffer();
           for (int i = 0; i < sArray.length; i++) {
             if (sArray[i] > 256)
                  sb.append("&#x" + Integer.toHexString(sArray) + ";");
         } else
              sb.append(sArray[i]);
         return sb.toString();

  • File XML Content Conversion: Problem with special characters

    Hello,
    in a file sender cc content conversion is used to transform a flat structure to XML. What we experiencecd is that the message mapping failed due to a character that was not allowed in XML:
    I was assuming that the file content conversion just creates XML messages with allowed characters. Is there any way to configure content conversion to remove control characters which are not allowed in XML? Unfortunately the sender system cannot be modified.
    Thank you.

    Hi Florian,
      Please use this UDF to remove special characters which prevent XML messages to form properly.
    public static String removeSpecialChar(String s)
              try
                   s=s.replaceAll("&","& amp ;");
                   s=s.replaceAll("<"  , "  & lt ;");
                   s=s.replaceAll(">", "& gt ;");
                   s=s.replaceAll("'", "& apos ;");
                   s=s.replaceAll("\"", "& quot ;");
              catch(Exception e)
                   e.printStackTrace();
              return s;
    Please remove spaces between characters within double quotes. I have added them because otherwise you can't see this code properly. Please check this below link , please replace the characters with proper values as the display is causing a problem here   
    http://support.microsoft.com/kb/316063
    regards
    Anupam
    Edited by: anupamsap on Jul 7, 2011 4:22 PM
    Edited by: anupamsap on Jul 7, 2011 4:23 PM

  • Dtterm and xterm - problems with special characters

    I run SGD 4.2 on a Solaris 8 box with 50 users globally. This installation replaces a 3.42 installation. Clients are all Solaris 8.
    Currently my most nagging problem is that I have "special characters" (at least on a german keyboard layout). @, �, `, ' are not working in xterm or dtterm, while they did on 3.42.
    As we have users connecting from all over the world, I have no idea how to fix this, so every user has "his/her own" keyboard setup.
    So far I tried with and without "Lock keymap" in Object Manager | Attributes | Advanced
    and "Use LANG variable" vs. "Use client's input locale" in Array Manager | X Protocol Engine | Keyboard Map.
    I'm quite new new to SDG and look for an Amin training currently, but this is too urgent to wait for this. Anyone an idea, please?

    Hi,
    Did you get an answer after 3 years?? :-)
    Whe do have the same problem.
    SUSE 10.1 sp1
    SSGD portal.
    Only when we connect thru de portal whe have this problem.
    When we connect straight to a terminal server and we open Winword than it ok, but when we open thru the terminal server de portal and logon to it, than then keyboard setting is changed.
    Any help??
    Best regards Rob de Bruin

  • Vibe 3.2 problems with special characters?

    I'm not sure where the issue lies here, the client or Vibe, so I'll throw
    this out there to see if anyone has run into this problem. I have a user
    with a + sign in their password. If he tries to log in from either his
    Android phone or his Android tablet, he gets a bad password error. Using a
    different browser on the tablet, he was able to get logged in. Using my
    Android phone, he was also able to get logged in.
    Are there any known issues with Vibe not supporting certain browsers for
    special characters in passwords? I don't think he had the problem with Vibe
    3.1.
    thanks,
    Todd Bowman
    Senior Network Analyst
    University of Minnesota Physicians
    612-884-0744
    [email protected]

    Yes, you're right. Same issue here with a '' character. Found this:
    '6.2 Character Restrictions in Usernames and Passwords
    Do not use extended characters or double-byte characters in Novell Vibe usernames and passwords.
    This includes usernames and passwords that are synchronized from an LDAP directory into Vibe.
    This limitation is caused by the open source Spring Security (http://static.springframework.org/
    spring-security/site) that Vibe uses for authentication, in combination with the various authentication
    methodsboth basic authentication (http://en.wikipedia.org/wiki/Basic_a...authentication) and
    form-based authentication (http://en.wikipedia.org/wiki/Form_ba...tication)used by
    single sign-on products such as Novell Authentication Manager, by Web services, and by WebDAV.
    Only ASCII characters are properly interpreted in all combinations.'
    source: https://www.novell.com/documentation...dme_novell.pdf
    Extremely frustrating for anyone using strong passwords...

  • Hi friends, Problems with Special Characters in Table download to Excel.

    Hi friends,
    I am using Binary Cache method to download to excel. The problem is that there are certain fields in the back end R/3  that has special characters in it eg : & * £ # etc.
    As a result, the download is not working for these rows. Please can any of you tell me how to get rid of this. As an example let's say I wan to replace the "&" with "and".
    Please help.
    Thank You.
    Avik

    hi,
    Hope you find tgis of some help !!
    public void ReplaceMethod( )
        //@@begin ReplaceMethod()
        // get the string value of the cell (for you from the table cell, for eg, Pinki & Rakesh)
        test = wdContext.currentTestStringConversionElement().getInput();
        // calculate the total length of the String
        n=test.length ();
        if(n!=0)
                for(i=1;i<=n;i++)
    // catching each character from the String
                            c = test.charAt (i-1);
            // checking if any character within the String (eg, Pinki & Rakesh)  is “&”            
                               if (c=='&')
                                                                wdContext.currentTestStringConversionElement().setOutput(Character.toString(c));
                                                                no=i;
                                                                break;
                String val = Integer.toString(no);
                               //wdContext.currentTestStringConversionElement().setNo(val);
                // breaking the String and adding “ and” in place of “&”            
                            sub1=   test.substring(0,i-1);
                            sub2= "  and  ";
                            sub3= test.substring(i,n);
                      //Concatenating the String   
                            test1 = sub1sub2sub3;
                      //Printing the String  
                            wdContext.currentTestStringConversionElement().setOutput(test1);

Maybe you are looking for

  • I have a requirement with select and text boxes. JSP / JDBC

    I have a Combo Box which iswritten by a JSP by connecting to DB! When i click on a <option> corresponding the other two text boxes must be loaded with data! if i have list of EmpID in <select>, in one text box i should get his CITY and other Occupati

  • Server Admin- Mail queue is this before or after its been checked as spam?

    Hi we have been bombarded with shed loads of junk causing the mail queue to swell and slow down considerably almost to a halt. I have now created the junkmail account and the notjunkmail accounts and now trying to teach the server to sort itself out.

  • About Records Management (TCODE ORGANIZER)

    Hi to all, First tell me if this thread is at incorrect place. My question is: When I open a record in Organizer with a different folders and I open a folder system said me: Node hidden: 0 (visibility check), 1 (authorization check)                  

  • TS3048 are there any known issues with the magic mouse? i believe mine is buggy and  has been crashing Logic

    mac pro quad core 2.8Ghz Lion 10.7.4 12 GB ram magic mouse behaves very erratically; seems buggy and tracks slow. will crash Logic when rubber-banding or moving events in piano roll edit windeo. very frustrating. have not been able to duplicate this

  • Automatic PGI and Invoice creation

    Hi Friends,                I had a requirement in SD area where once we create sales order, the PGI and Invoice process should run in the background ( Automation Process).  The scenario here is --  when we create sales order, the delivery document al