Display of the Euro Currency symbol by a JSP

What am I doing wrong ???? I always receive the following:
Price 1,99 ?
whenever I run the following JSP:
<%@ page import="java.util.*, java.text.*" %>
<html>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<%
Locale myLocale = new Locale("de","DE", "EURO");;
double price = 1.99;
NumberFormat form = NumberFormat.getCurrencyInstance(myLocale);
%>
<p>
<b> Price
<%= form.format(price) %>
</b>
</html>

It seems that the JDK your tomcat server is running don't know the locale Locale("de","DE", "EURO"). Try to install a newer version of the JDK.
Daniel

Similar Messages

  • Euro currency symbol not displaying

    Hi
    I am using oracle 11gR2 and GNU/Linux.I am using Putty to connect linux box and connect DB.one table contains all countries currency symbol.
    Problem is I couldn't able to select the 'euro' currency symbol in console but in sqldeveloper it's working good.
    select symbol from gv_curr_info where curr_-cd='EURO';
    I am getting '?' instead of euro symbol. in OS LANG=en_US.UTF-8 and in DB NLS_CHARECTERSET=AL32UTF8 and NLS_NCHAR_CHARACTERSET=UTF8.
    putty also CHARACTERSET=UTF8.
    any idea to solve this issue please?

    First you need to establish the OS can display the euro sign correctly, at all.
    Then you need to make sure your NLS_LANG environment variable has been set up correctly. This means the part behind the dot is the Oracle equivalent of your characterset.
    Then you need to make sure the database can store the euro. If I recall correctly you indicated the database characterset is AL32UTF8. This means you shouldn't have any problem.
    If you go for an ISO characterset you need 8859P15, as the ISO couldn't agree on changing 8859P1.
    As Microsoft never adheres to any standard it is WE8MSWIN1252 for Windows databases.
    Please note Oracle is looking to standardize on multi-byte charactersets, so you will be better of with AL32UTF8.
    As a sidenote in a console session on Windows, NLS_LANG needs to end in .WE8PC850, or diacritical characters will not display correctly.
    Sybrand Bakker
    Senior Oracle DBA

  • Euro Currency Symbol Displayed?

    I am trying to show the Euro currency symbol in a calculated number field.
    I tried changing the locale to English (United Kingdeom - EURO). That still displays the british pound symbol.
    Any ideas?

    There is a UK Euro option in LiveCycle though. Our office does sell in Euros instead of GBP sometimes.
    But what is wierd is when I use Germany or france, to show less than one Euro, it is using a comma instead of a decimal point. That is not how it is shown in our business. For example we would do.
    5.32 but LiveCycle is showing it as 5,32
    frustrating. Even though in the display pattern I have $z,zz9.99

  • Euro currency symbol  using '€'

    Hi Everyone,
    Do you have any problem populate the Euro currency symbol using '&#8364;'. I use XDK 9.2.0.2.0 and run on WinNT, Solaris and both display the Euro currency symbol using '&#8364;' as a "?"
    Sample test.xsl:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" encoding="ISO-8859-1"/>
    <xsl:template match="/">
    <Root>
    <euro>&#8364;</euro>
    </Root>
    </xsl:template>
    </xsl:stylesheet>
    or
    test.xsql
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Bid xmlns:xsql="urn:oracle-xsql">
    <euro>&#8364;</euro>
    </Bid>
    Thanks

    Using the unicode &#8364; Your best bet is to ask tom at: http://asktom.oracle.com

  • € Euro Currency symbol in ActiveSync password not working.

    Are there any known issues when using the € Euro Currency symbol as a password for ActiveSync on an iOS device? It appears ActiveSync does not accept the  € Euro Currency symbol when used in a password sent from an iPad/iPhone.
    Are there any known issues with special characters and ActiveSync?
    Thanks for your help.
    Regards,
    Dennis

    ActiveSync was developed for Windows.  You'd have to know what code page the Windows device was using to make sure you understood how the character should be coded.
    Generally speaking, I wouldn't use any character in a password that didn't have an ASCII code.  We've even had trouble with accented characters.

  • How to Print Euro Currency Symbol

    Hi All,
    Please suggest how to Print Euro Currency symbol in SAP Script.
    Thanks
    Saurabh

    Hi,
    I was also facing the same problem while printing the Euro symbol.
    Now got the easy solution.
    Goto smartforms-> text editor, -> then include charactrs-> displayable charactrs-> and now select Euro symbol...
    Regards,
    Mrunal

  • The EURO currency table (EWUCURRS) could not be set up.

    Hi,
    When I create a PO while using AED as currency, I get message
    Pricing/euro: Attention: Euro Customizing not maintained
    Message no. VH777
    Diagnosis
    The EURO currency table (EWUCURRS) could not be set up.
    Procedure
    Check EURO Customizing (see OSS note 91481 and 135661).
    I went through the notes but could not really understand what's exactly required to be done.As it mentions several notes in one note.Also these notes talks about older versions.
    I am using ECC 6.0
    I am getting this error only sometimes.May be when  am not using European currencies.
    What is this message basically and what needs to be done exactly.
    Note talks about many things in one thing like maintaining EURO/EURX so on and so forth.
    According to me the note confuses a lot than helping.
    Can anyone suggest what is to be done and what is the severity of this message ?
    Thanks in advence
    regards,
    manOO

    Hi
    Check T code- EWCF (Confirmation of EURO currency customization)
    Thanks
    Ansuman

  • How can I add the Turkish currency symbol?

    If you go to Systems Preferences - Language & Region - Advance, you can set your preferable currency. But unfortunately Apple hasn't yet updated it with the 2 years old released Turkish Lire new Symbol. You can easy find it on http://www.tcmb.gov.tr/wps/wcm/connect/tcmb%20en/tcmb%20en/bottom%20menu/other/t urkish%20lira%20sign
    How can we update it from our side?
    Thanks in advance for the answers.

    Thank you for your answer but this means that I have to make a copy-paste or drag the sign each time I make a Numbers-Pages file.
    If I chose, in Numbers for example, the Currency 'Turkish Lira', the sign will be TRY but I do not want this as this is wrong!
    It should be TL or the signet ₺.
    Therefore I would like to change it in Preferences Settings.
    Any idea how to manage this?
    At the moment, in the Numbers - Format - Cell - Data Format I have created my Own Format and thus OK but it means that my list of 'Own Format' is getting bigger.
    Apple should update the Turkish Currency Sign in Preferences Settings.
    Thanks.

  • Euro currency symbol in SmartForms

    Hi,
    I'm using ECC6.0 SmartForm. I'd like to add this symbol '€' in the text.
    I've tried to copy and paste it but the script editor doesn't allow.
    Does anyone have a solution for this problem??
    Please help me it's very urgent...
    Tarick.

    For Printing Symbols try using SuperScript Character  format

  • EURO Currency symbol

    I am unable to write the � on Sol 8 x86 {MU-4}, I have no problem to do the same on Sol 8 Spark. I am using as locale ISO8859-15 on both machines.
    Is it rearly possible, that Solaris 8 x86 is not (yet) EURO ready.
    Lutz Foerster

    No. I have the same setting (Solaris 8 Intel - Iso8859-15) and it works.

  • Euro Currency 'u0080 ' displays as '# ' after Smartform to PDF converion

    Hi,
    The Euro currency symbol '€' used in Smartform displays corrcectly on printout. if the same document sent via email after PDF conversion the '€' displays as '#' in PDF. All other Currency symbol '£', '$', '¥',...etc displays correctly in printout & in PDF.
    Thanks in advance
    Vincent

    Hi,
    The Euro currency symbol '€' used in Smartform displays corrcectly on printout. if the same document sent via email after PDF conversion the '€' displays as '#' in PDF. All other Currency symbol '£', '$', '¥',...etc displays correctly in printout & in PDF.
    Thanks in advance
    Vincent

  • Changing the Default Currency in Analytics App's don't change curr symbol

    Hi All,
    We are using BI APPS 7.9.4 with OBIEE 10.1.3.3.2
    We want to change the default currency for reporting from $ to £ in BI Dashboard reports.
    I have edited the currencies.xml file on $INSTALLDIR/OracleBI/web/config
    changed the sybmol to £ from $
    <Currency tag="int:wrhs" type="international" placeholder="true" symbol="£" format="$#" digits="2" displayMessage="kmsgCurrencySiebelWarehouse">
    <negative tag="minus" format="-$#" />
    </Currency>
    <Currency tag="loc:en-GB" type="local" symbol="£" locale="en-GB" format="$#" digits="2">
    <negative tag="minus" format="-$#" />
    </Currency>
    and restarted BI Server, Presentation Server, Java Host and all the OPMN services but the reporting currencies in the dashboard reports are still displayed in $. The report currency symbol is showing $ by default irrespective of the default currency set in the currencies.xml
    Ex: $13459
    Anyone know what this issue could be, please let me know if am missing anything.
    I appreciate your help.
    Rgds, Bhaskar Kolluru
    Edited by: bkolluru on 30-Sep-2008 03:14

    Did you try changing the format setting as well?
    format="£#"

  • JSP - Encoding problem? Euro currency values display become corrupted

    Hi
    We are having problem on our web application when trying to displaying euro currency.
    A expected string such as "229 810,00 € " is displayed as "229 810,00 €".
    Note that the page encoding is UTF-8, the line "<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />" is present in the header. Manually changing encoding to UTF-8 in browser did not fix the problem.
    We have also noticed that when we deploy the same application in tomcat, we do not have this problem. The Euro currency is displayed correctly.
    Are we missing some settings in our WebLogic Application Server that causes this problem?
    thanks
    Peter

    Another really strange thing happened after i did a urlrewrite!!!
    here is the two link:
    link1: http://www3t2.irelandin1.com/AboutIreland/Meath/index.jsp
    link2: http://www3t2.irelandin1.com/about_ireland.jsp?county=Meath
    Actually, link 1 will be redirected to link2. It means the actual code executed for two links are the same. And the server is the one obviously.
    But, you can find the difference: B?inne shown on link2 and B�inne shown on link 1
    WTXXXX
    Forget �, which i am using &uacute;
    Any helps??
    Thanks

  • Display the document currency instead display Currency in Report

    Hi Experts,
      I am having  a query in support system, in that one characteristic called document  currency is there under Unit Dimension and this Doc currency info object  having the Display currency and Document currency as Variables. Document currency Info object is in Free characteristics without related  variables (Disp.curr and Doc.curr)
    When I execute the query  defaultly Display currency will appear as a  variable in selection screen, because customer exit(cmod) has created like that
    Now user want to display the document currency instead Display currency  in the report, may I know how can I solve this problem?
    Here I am unable to get the customer exit  detatils and which program is there in CMOD, can anyone suggest me, how I will get the details?
    And one more requirement in this CR, that is user want to display the key figure amount in the report should be displayed with the document currency amount only
    May I know, want to do any settings for this?
    Thanks to All
    Regards
    Mrudula

    Hi rajesh,
    1.customer exit value you can change in CMOD,select your project and go to components  and select EXIT_SAPLRRS0_001.there go to  include zxrsru01,and change  display variable to document currency variable.
    2. if u want to display your key figure value in document currency ,,go to that key figure info object ,,,in currency ( reference) field give document currency info object.Then map the respective amount value again in transformation.load the data, now  in report document currency will be displayed along with key figure amount.
    Thank you,
    Joseph

  • How to fix wrong currency symbol and placement of it?

    Hello
    I'm setting up a re-install of Lion after the 10.7.5 update killed it, and Mountain Lion turned out to be a battery-killer.
    I'm trying to setup the formatting of digits, time and currency in System Preferences, but I cannot see how I can fix the incorrect way it wants to display the Danish currency symbol.
    In Denmark, our currency symbol is either "kr." (short for "kroner") or "DKK" and it's a suffix preceded by a space. Microsoft has always gotten this partly wrong, chosing the right symbol ("kr."), but prefixing it. It's always been easy to fix, though.
    On my Mac, the system wants the symbol to be "Dkr" (which is definitely not correct in any way), it wants to prefix it, and it wants to glue it directly on to the amount, not even adding a space, i.e.
    "Dkr1.000,00"
    The correct notation is,
    "1.000,00 kr."
    I can't find any GUI way to fix it, but I know there are tons of settings hidden that you can set using a terminal. Just have no clue if this is one of those, and how to do it if so.
    Is it, and how?
    Thanks in advance,
    Daniel

    Dr. Daniel, M.D. wrote:
    About my issues with Mountain Lion, the only third-party apps I had installed were Chrome (first thing I do is get a proper browser so that I can finish setting up things), iTerm2 (need a proper terminal to fiddle with settings and do things on my server via ssh), and Spotify (to listen to stuff while settings up things).
    Are Safari, Terminal, and iTunes somehow "improper"?
    Actually, I was refering more to system modifications. My EtreCheck tool is designed to list those because people sometimes forget about software that only runs in the background.
    Sure, there may be some workarounds to get things better with ML, but seriously, I'm not paid to be a beta-tester, and if at 10.8.2 it still can't perform properly, I'm not going to be the one working 24/7 to get my laptop regain the lost 50% battery life if I can just wipe the crap and revert to Lion.
    I am a paid beta tester and developer, just not for Apple. I can assure you there are no significant issues with 10.8.2. There are some poorly-coded 3rd party software that doesn't work well on Mountain Lion. Sometimes developers take short cuts just to get something working and never fix it to work "properly" because, technically, it isn't broken - until the next operating system version comes out that is.
    When Lion was released people were also falling over themselves to reinstall Snow Leopard for the same reasons. You can search for old posts from myself and others who said Lion was fine (as Mountain Lion is) and accurately predicted that people would, in due time, be falling over themselves to reinstall Lion.
    This morning, after having reinstalled Lion, I fired up Chrome with my local radio station in Flash, playing news while I prepared coffe and cereal, keyboard backlight constantly on (as I hadn't yet set up anything (I always set a 5-second timeout)), the screen at 50%. Remaining battery life was 7h30m. Same setup with ML was pretty much exactly half that.
    Chome, espeically with Flash, is known to have problems in Mountain Lion. I suggest using Safari and the ClickToFlash extension. That way, you get a very similar browser that will first try modern HTML5 methods for streaming that media and only fall back to Flash if necessary. Even without Chrome, Flash is a total CPU and battery hog.

Maybe you are looking for