How to enter Special Characters in JSP

Is there any way to enter special characters such as ºC ? i am using J2EE and Oracle 9 i.
When i try to enter 2ºC after updating the datbase it is converted to 2ºC. All special characters are prefixed with Â. Pls suggest some better way ..

This normally relates to your unicode set you are using. For example the database is using a different way of storing data than how it's being parsed.
One quick/dirty fix is to save the data using HTML encoded elements, for example ©
You will also find that £ £ will cause problems. If your web app is only for one country then I would not worry about it however if you need multi language support then you need to read up a little
[Unicode Support|http://www.alanwood.net/unicode/]

Similar Messages

  • After Effects 7 for Windows - How to enter special characters

    How can I enter special characters in a text layer? Like ampersand, french double quotes etc.
    Using an Alt-Numpad combination doesn't work, neither does typing the text in an editor and trying to copy and paste it to AE.
    Best regards,
    Christian Kirchhoff

    Make sure your operating settings match AE's language. Also pick such characters from a font that supports the correct Unicode range (the default system fonts for instance). If that still fails, restart your system and/ or AE. This may take several attempts and is annoying, but these issues have no clear pattern to them, so it's hard to make out the exact cause.
    Mylenium

  • Entering special characters for Social Beat on G'Zone Ravine?

    I've figured out how to enter special characters in a text, or in mobile IM. But I am unable to find a method for doing so in Social Beat. My username and password both use special characters, but I cannot find the option to enter these.

    Thank you for your inquiry and I apologize for any confusion. I am providing you steps for how to change your symbols to special characters when your at the long in screen when using the Social Beat application. I was able to locate this information from the online user manuel and here is a link for further reference. I hope these steps as listed below helps.
    To using Symbol Text Input to insert symbols or punctuation, follow these steps from the text entry screen:
    1. Press the Left Soft Key, select Symbols, then press the Center Select Key [OK].
    2. Press the Right Soft Key [Next] to view the next 12 symbols or Left Soft Key [Prev] to view the previous 12 symbols.
    3. Select the symbol you want to insert using the Directional Key, then press the Center Select Key [OK] to select it.

  • How does one enter special characters, in particular french accents into text in PS Elements?

    I'm trying to produce some artwork in Photoshop Elements with some French text in it, so I need to know how to input special characters for the letters with accents. Anyone got any ideas - I've tried looking for a glyph menu but that doesn't seem to exist on Elements.

    Which operating system are you using and version of photoshop elements?
    Photoshop elements doesn't have a Glyphs panel or menu.
    Here's a way:
    windows
    http://symbolcodes.tlt.psu.edu/accents/codealt.html
    mac
    http://symbolcodes.tlt.psu.edu/accents/codemac.html

  • How to print Special Characters in Sap-Scripts

    How to print Special Characters in Sap-Scripts
    Thanks,
    Ravi

    Hi
    if u want print special characters we can use hot codes i.e '  '  (single inverted commas). in between these hot codes insert u r special characters.
    write    '    !@#$%^&*( )  '.
    for the above write statement output is
    output is   !@#$%^&*( )

  • How to save Special Characters in oracle?

    Is there any way to enter special characters such as ºC ? i am using J2EE and Oracle 9 i.
    When i try to enter 2ºC after updating the datbase it is converted to 2ºC when it is displayed in HTML. All special characters are prefixed with Â. Pls suggest any way to use special characters with oracle ..

    This has nothing do to with NLS_LANGUAGE. In general, character set processing depends on NLS_LANG setting (which is an OS setting and not a instance initialization parameter) and database character set. To understand NLS_LANG see OTN NLS_LANG FAQ http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm.
    However, I think that JDBC is an exception and does not use the character set defined by NLS_LANG. See last answer in following discussion:
    Re: When is NLS_LANG used ?

  • How to write special characters in PDF using iText

    How to write special characters encoded with UTF-8 in PDF using iText.
    Regards,
    Pandharinath.

    I don't know what your problem is but that's almost certainly the wrong question to ask about it. Java (including iText) uses only Unicode characters. (You may consider some of them to be "special" if you like but Unicode doesn't.) And when it does that, they aren't encoded in UTF-8 or any other encoding.
    So can you describe your problem? That question doesn't make sense.

  • How to display special characters in Script...

    hi all,
    Can any one tell me how to display special characters in script...
    how to write in text element
    thanks in advance,
    prashant

    Hi Prashant ,
      What special characters would you like to include .
    There are a set of characters / icons /symbols that can be included in Script , for that open a window in edit mode and in the menu there will be an option called Insert  , here you can find a lot of characters/symbols that can be included .
    Regards,
    Arun

  • Entering special characters at the command line.

    I'm writing a simple program in java that automates certain processes in learning a foreign language.
    This includes holding a database of vocabulary within the context of a sentence and testing a student on words they have encountered.
    Nothing too tricky, except that I am having trouble with entering special characters at the command line. I'm not really surprised by this and was hoping that someone could help me.
    I'm using a mixture of Solaris 8 and Mac OS X 10.3 for running the software, so anyone with any input on either of these systems will be able to help.
    The characters I am trying to enter are the following:
    �,�,�,�,�,�,�,�,�,�,�,�.
    They are latin, and used in Spanish amongst other languages.
    I'm a little confused by the implementation of character sets. I can enter these characters in applications such as word or textedit or an email, but just not at an X window.
    From looking at the web it appears that these characters can be input using the
    Latin1 (ISO 8859-1) character set or the ISO 10646-1/Unicode extension.
    I'm just not sure what I actually have to do to get it to work.
    If anyone can offer any help I'd be really grateful.
    Ian Stanton

    It's a problem that could be encountered in different circumstances, in this circumstance it is with a program I am writing in java.
    I anticipate that these days not that many applications are delivered that require use of the command line, but since I am still learning Java it is necessary to explore this avenue.
    It's interesting actually since presumably developers writing code for the international market need to accomodate characters similar to those I am attempting to enter, and more that are less familiar to me such as far and middle eastern scripts, and of course many others.
    We (possibly) assume that since a character is printed on our keyboard it is a simple matter to read it in. But what if I was a Spanish student wanting to type a character into the command line and that character wasn't there? I believe that Spanish (and variants of that language) is the third most spoken language on the planet.
    These characters are often relatively easy to enter in office and internet applications amongst others but apparetly not so at the command line.
    Maybe this question is more suitably asked of the Unix community but I thought it a good idea to try Java since i was writing Java code and that many Java programmers could have encountered the same problem.

  • Entering Special Characters.

    User requires information on entering special characters (i.e.: a with umlat, etc.) as part of a name. So long as the language code allows for such, what is the easiest way to accomplish such? User is using forms via IE.

    I would think that the easiest way is to use OS level keyboard layouts. In XP they all come with the OS and its as easy as activating a new layout in the Regional and Language options Control Panel applet. Once you have done that you can switch between layout with a configurable key combination.
    If that is not an option you can also enter umlauts with the Alt-[ASCII number] combination but that requires the user to remember the number for each umlaut.

  • How to remove special characters while typing data in edit cell in datagrid in flex4

    Hi Friends,
    I am facing this problem "how to remove special characters while typing data in edit cell in datagrid in flex4".If know anyone please help in this
    Thanks,
    Anderson.

    Removes any characters from
    @myString that do not meet the
    provided criteria.
    CREATE FUNCTION dbo.GetCharacters(@myString varchar(500), @validChars varchar(100))
    RETURNS varchar(500) AS
    BEGIN
    While @myString like '%[^' + @validChars + ']%'
    Select @myString = replace(@myString,substring(@myString,patindex('%[^' + @validChars + ']%',@myString),1),'')
    Return @myString
    END
    Go
    Declare @testStr varchar(1000),
    @i int
    Set @i = 1
    while @i < 255
    Select
    @TestStr = isnull(@TestStr,'') + isnull(char(@i),''),
    @i = @i + 1
    Select @TestStr
    Select dbo.GetCharacters(@TestStr,'a-z')
    Select dbo.GetCharacters(@TestStr,'0-9')
    Select dbo.GetCharacters(@TestStr,'0-9a-z')
    Select dbo.GetCharacters(@TestStr,'02468bferlki')
    perfect soluction

  • How can I enter special characters in a text title?

    Hello to all!
    Have been trying to get in a special character [the tick mark] onto a text title on my current project. Had gone to the special character option under EDIT menu, and added the desired special character to the 'favourite' list, but after that I do not know how to move ahead. Would like help.
    Thanks to all.
    Dr. Somanna

    Thank you for your reply.
    However I am afraid that neither double click nor drag/drop is adding the character to the text.
    Is there any other method to get special characters into FCPX?

  • How to add special characters in Flash CS3

    Hi, i need the help of some flash guru… these last weeks we were working with cloversites.com to build a community website… the interface is awesome etc etc however we in Malta have eight special characters (GCZ with a dot on top of them and an H with a second strikethrough). Those at cloversites wrestled with the problem, they could see the characters on their computers but when they entered the text in the site, flash couldn't render the special characters. Here is their message:
    I am extremely sorry about this, but we were unable to add in your characters. We attempted to add them into our software but they did not work. We worked on it all morning and realized that we need an extra add-on for our keyboards. Adding special characters is nothing new to us and have answered this request for many of our international users. For some reason, the Maltese characters did not work in our sites. For example, our "option-G" is the copyright symbol so it will need to be transferred over to international characters.
    Unfortunately, we thing that this has to do with Adobe Flash CS3. The software allowed me to embed the characters, but we were unable to render them on the web. Which led us to think it had to do with the version Adobe is running and its inability to render the text through its software on the web. None of the characters worked on the web, and it looks like its just an Adobe bug. So we are able to type and use the Maltese characters, but Adobe Flash is having trouble with them.
    Does anybody know of any possible solution?

    see if codepoints-to-string() is suitable for you ..
    Re: how to concatenate hexadecimal value to string in XQuery in PS Message Flow

  • How to Avoid Special Characters in string

    Hai.
    I want only Alphabets & Digits to be entered in to my string.No any other special characters except spaces.How can I do this? 
    Solved!
    Go to Solution.

    MikeS81 wrote:
    see the attached example.
    I would allow a few more, e.g. 0 and 8 to allow editing of the entered string (backspace, cursor buttons, delete key, etc.).
    Message Edited by altenbach on 11-21-2008 12:49 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    check_char_LV80MOD.vi ‏14 KB
    FilterStringInput.gif ‏6 KB

  • How to handle special characters in NWDI

    Dear All
    I am trying to update the Description from JSP form. Through JCO we are calling the RFC of ABAP. We are passing these description from Java to RFC of ABAP and this RFC update the text in Database.
    We have noticed that if there is some special character in description like as : š or ž, complete description is not getting updated in to the SAP database.
    Can anyone help me how to handle these special characters in Java. There may be N number of special characters. We want to generalize it. We want to replace these characters by s and z respectively.
    For example : We want to update this description.
    APPLERR H'4301 H'FA03 H'254C na Zagreb TC4 riješen je cleaning procedurom, te je i kroz CSR odgovoreno da trap korekcija N01TCADG-0052 u bloku UPDC više nije potrebna, te se može izbaciti (AP143).
    Uspješno su završene HR17/CN-A3 FOA-e na tranzitnom nivou, te slijedi roll-out u dva termina 12/13.04 i 19/20.04. ETK je na sastanku isporu&#269;io SW, te ALEX i mini PLEX za sve objekte.
    AP147. Poslati finalnu dokumentaciju za uvo&#273;enje paketa (implementacijsku instrukciju i sve popratne datoteke).
    WHile updated text is as follows :
    APPLERR H'4301 H'FA03 H'254C na Zagreb TC4 rije
    N01TCADG-0052 u bloku UPDC vi
    Uspje
    sastanku isporu
    AP147. Poslati finalnu dokumentaciju za uvo
    Regards
    Bhavishya

    Hi Bhavishya,
    Apparently your SAP database isn't configured to support Unicode. That would be the first solution to your problem, but I can imagine it's a bit drastic to convert your DB.
    A second solution would be to encode the input description to ASCII before storing it in the database. When reading from the database, decode again to Unicode. This way, no information is lost. A suitable encoding would be Base64. e.g.
    String description = "šunday žebra";
    String descriptionBase64 = new sun.misc.BASE64Encoder().encode(
      description.getBytes("UTF-8")); // ""
    // store descriptionBase64 in the DB
    // later, when reading descriptionBase64 from the DB
    String description2 = new String(
      new sun.misc.BASE64Decoder().decodeBuffer(descriptionBase64), "UTF-8");
    Instead of using Sun's implementation, a better alternative is to use the open source implementation
    org.apache.commons.codec.binary.Base64 from Commons Codec . 
    The 3rd approach is indeed to normalize the description by replacing all special characters with their ASCII equivalent. A rather easy solution is as follows:
    String description = "šunday žebra";
    String descriptionNormalized = sun.text.Normalizer.normalize(
      description, sun.text.Normalizer.DECOMP, 0).replaceAll(
      "[^p{ASCII}]", "");
    sun.text.Normalizer decomposes the string, e.g. "éàî" becomes "e´a`i^", after which non-ASCII characters are being removed using a regular expression.Again, note that it's usually a bad idea to use sun.* packages, see note about sun.* packages. The above code only works with J2SE 1.4 and J2SE 5.0, but it breaks in J2SE 6.0 (where
    java.text.Normalizer became part of the public API ;-). A good open source implementation can be found here: ICU4J (com.ibm.icu.text.Normalizer). 
    Kind regards,
    /Sigiswald

Maybe you are looking for

  • Value-Basis Free Goods in ME21N

    In PO creation, is it possible for free goods to be on value-basis rather than quantity-basis? For example: If I buy A 1000USD, I'll get one B for free. Cheers, VT

  • Air drank cup of tea. Now it doesn't charge with it's own charger and 2 keys got broken.

    Hey guys. My wife spilled a cup of tea with sugar on her Air. Now it doesn't charge with it's own charger (14.5V, 3.1A) but it does with macbook pro's charger (18.5V, 4.6A). This is weird. Our local "certified" reseller (we don't have Apple Store in

  • Macbook to Macbook screen

    Hey someone stepped on my old macbook and the screen cracked. I bought a new one and I was wondering if you could connect the broken screen to the new macbook so that I could erase it's hard drive. Let me know if that's possible if all. Thanks guys.

  • [SOLVED]Error while Checking Filesystems

    During the boot process, the system displays an error while checking /dev/sda4 It shows this: /dev/sda4: recovering journal Error reading block 18491121 (Attempt to read block from filesystem resulted in short read) [FAIL] *********** FILESYSTEM CHEC

  • Tree Issue--Data out of order?

    All, I suspect this is more of a generic SQL question, but, anyhow, I'm trying to create a tree report of the items in our bills of materials. When I run the page, the tree is empty (not even a root). Trying to figure out what the problem is, I've co