Euro Symbol Conversion Linux to Windows

Hi,
I have got a web application running on JBoss/Tomcat/Apache in a Linux environment. This application generates a report which uses euro as a currency (generated by NumberFormat.getCurrencyInstance()). One function is to download the report in a CSV format, which can be imported into any spreadsheet application. The problem is the conversion of the euro symbol.
My first attempt is using a servlet and doing something like
response.setContentType("application/x-filler; charset=ISO8859-15");
response.setHeader("Content-Disposition","attachment; " + cHeader);
response.getWriter().print(cReport.toString());The problem is, that the euro symbol is converted into 0x80, which is a control character in the "normal" ISO-8859-1 (not in Windows), which is converted into 0x3F ("?"). The best thing would be, to use UTF-8, but unfortunately, MS Excel, which is the customers standard spreadsheet application, can't import UTF-8, so I have to go with ISO-8859-1.
I tried all kinds of different conversion attempts (getBytes("ISO-8859-1"), different charset values, ...), but nothing worked so far.
Does anybody has an idea how to do convert Unicode on a Linux Application Server to Windows ISO-8859-1/15?
Thanks for any help,
Thorsten.

hi,
i have the same problem. i want to output a currency to the browser. the characterencoding of the page is utf-8. i can't convert what is coming from the numberformat to something displayed correctly in the browser.
this is what i try:
output = nf.format(euros);
response.getOutputStream().write(output.getBytes("UTF-8"));
any ideas?

Similar Messages

  • Problem showing Euro symbol in Jlabel in Windows 98

    Problem showing Euro symbol in Jlabel in Windows 98
    When i place the euro symbol as text using \u20ac it does not work in windows 98 but does so in win 2000.
    I tried using JDK physical fonts also
    Kindly help me out.

    Hi,
    This was a bug and should be fixed in 1.3.1_02 see:
    http://java.sun.com/j2se/1.3/ReleaseNotes.html
    Hope this helps.
    Regards,
    Matt
    Java Developer Technical Support
    Sun Microsystems.

  • Euro Symbol with Windows 7 Bootcamp

    I'm using a Macbook with Windows 7 via Bootcamp and I'm having a hard time finding the Euro Symbol. I've tried every combo of numbers+alt+shift. Is there a shortcut for this symbol in bootcamp? I do not want to keep copying and pasting it from the internet into my doccuments.

    In my case, using Mac Aluminum keyboard, looking at this:
    http://www.microsoft.com/typography/eurosymbolfaq.mspx
    Pressing Right Alt key and key  0 1 2 8 in numeric keypad
    causes € to appear when you stop pressing on Alt Key.

  • Euro symbol is driving me crazy!!

    My architecture is:
    - Oracle 8i 8.1.7 DBMS under Linux on server "db"
    - Oracle 9i application server under Linux on server "web"
    I've got a jsp page which calls a java class to query the db, get the result as xml string and transform it into HTML by XSL.
    The problem is that I can't display the Euro symbol: I see an "upside-down" question mark.
    I think the problem is not the DBMS, because from my Windows client I can insert the Euro Symbol (I use sqlplus worksheet) and I see it correctly. But anyway the problem is only when I get data from the DB: if I insert the Euro Symbol into the XSL, it is displayed correctly.
    Please help me, I'm going mad...

    No. downgrading is not supported.
    If you want to troubleshoot your problems, please tell us what's happening and what you've done.  If all you want to do is rant, go somewhere else.

  • Trouble with euro symbol ( x80 )

    Hi!
    on windows-plattforms the euro-symbol often is encoded with x80. I can manage to read from those files/streams, but as soon as I try to write this value to into a stream with whatever encoding java "thinks" that x80 is not a printable character and writes a x3f (a questionmark) instead.
    I know that the euro-symbol should be unicode x20AC, but if windows and the IE uses x80 my java-program has to be able to deal with that!
    please help

    Maybe it has to be done the other way around.
    You need an encoding that reads windows' Euro x80 into Unicode x20AC and you should not stick to have the Euro sign as x80 at the Java side.

  • Euro symbol

    Hi,
    I cannot use the 'Euro' currency symbol in a Text field of a report (both Reports version 3 and 6).
    Can someone help me?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by allanplumb ():
    -- Does your system have a font for
    that symbol? I.e., can other tools
    on the machine display it?
    -- What are your database and user
    character sets? Do they contain byte
    codes for the Euro symbol? E.g.
    Unicode does, 7-bit ASCII does not.
    Allan Plumb<HR></BLOCKQUOTE>
    I'm using Windows 98 and the euro symbol is part of the true type fonts used by the system(it is typed with Alt+0128 or Ctrl+Alt+5 or AltrGr+e).
    I've just discovered a workaround to use the euro in a report: I write it in Wordpad, then I can copy and paste it in a report.
    null

  • Smart Forms Euro € symbol?

    Hello Experts!
    I want to add € in my Smart Forms Text.
    There is an OSS hint 616683 to this question but all releases mentioned are lower than our used release and the solution with entering the Number 156 for € doesn't work.
    Please help
    Best Regards
    Annette

    Hi Annette,
    Using SAP Script: 
    To print Euro Symbol in SAP Script, do the following: 
    Put the sequence <156> at the desired location in the text editor of the corresponding page window as shown below: 
    During the print preview, the output would be as shown below: 
    Using Smart Forms: 
    For printing Euro symbol in Smart Form, do the following: 
    In the Microsoft Word document, click on Insert -> Symbols 
    Select the Euro symbol from the list. The symbol would appear on the document. Copy the symbol and paste in the text editor of the Smart form as shown below: 
    Save and activate the Smart Form and do the test run. The print preview would be as shown below: 
    Printing of Euro symbol might not be possible on all Printers. By default, SAP R/3 supports the euro symbol only when using the SAPWIN device type and printing over SAPLPD (mainly used for individual document printing).
    To print this on Kyocera printers, do the following: 
    “When using PRESCRIBE device types (like kyofs150, kyofs170, zkm10pre) the euro sign will not be printed very beautiful. To print the real Euro sign instead of the combined ( and = character on top of each other) please set the character 156 of the SAP code page 1114 to 80 hex. In this case the Euro sign will be printed correctly. Alternatively please copy the code page 1114 to e.g. 9114 and make the modification there. Then you just have to switch the used code page of your device type (kyofs150, 170 or zkm10pre) to 9114 as well.”   
    Also check the SAP Note 0129581 for more information on this.

  • Error in Transport Tablespace from linux to windows

    I am testing the cross-Platform Transport Tablespace. As per the oracle, we can transport tablespace from linux to windows without conversion because both are using same endian (Little).
    But i am fail to do Transport Tablespace from Linux to Windows.
    I am performing Transport Tablespace process as following:
    from Source Oracle Database server(red had linux as 4 32-bit oracle version:10.2)
    Sql> alter tablespace TEST read only;
    $ expdp system/pass dumpfile=test.dmp directory=export_dir transport_tablespaces=test transport_full_check=y
    after this i am coping test.dmp and data file (test.dbf) to the target machine (ms windows xp 32-bit with oracle 10.1) .
    on Target Machine (with Ms windows xp os) here i am giving the following command:
    impdp system dumpfile=test.dmp directory=exp_dir transport_datafiles=/exp_dir/test.dbf
    but it is giving following error:
    ora-39001: invalid argument value
    ora-39000: bad dump file specification
    ora-31619: invalid dump file "c:\pks\1103.dmp"
    what may by ...
    Prabhaker

    now for version compatibility i am inclusding version option with expdp
    edpdp scott dumpfile=1103.dmp directory=pks transport_tablespaces=prabhu version=10.1.0.2.0
    but now it is giving following error:
    Import: Release 10.1.0.2.0 - Production on Saturday, 11 March, 2006 19:07
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SCOTT"."SYS_IMPORT_TRANSPORTABLE_01" successfully loaded/unloaded
    Starting "SCOTT"."SYS_IMPORT_TRANSPORTABLE_01": scott/******** DUMPFILE=1103.DMP DIRECTORY=PKS TRANSPORT_DATAFILES=C:\PKS\PRABHU version=10.1.0
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    ORA-39123: Data Pump transportable tablespace job aborted
    ORA-06550: line 2, column 2:
    PLS-00306: wrong number or types of arguments in call to 'BEGINIMPORT'
    ORA-06550: line 2, column 2:
    PL/SQL: Statement ignored
    Job "SCOTT"."SYS_IMPORT_TRANSPORTABLE_01" stopped due to fatal error at 19:07
    regards
    Prabhu

  • Euro symbol not rendering

    Hi,
    My original page was published with euro symbols within some editable regions,  and these rendered properly and without issue.
    Today my client is trying to edit and the euro symbols are not rendering, instead turning into question marks and I can't understand why. It's really quite annoying, and not to mention slightly embarassing.
    The page's character encoding is as follows:
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    I've also tried:-
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    Grateful for any help to resolve this issue.
    Many thanks

    I would say this is part of the US version being supported atm...
    As a rule of thumb, I always use UTF-8. Using Unicode is much more reliable than legacy character encoding such as Windows 1252 or ISO 8859-1 (NOTE: the older ISO 8859-1 had no character for the Euro sign)....
    My first question would be.. What browser are they using? and how are they entering the character (copy-n-paste, keyboard, or compose key sequence)?
    You could ask your client to try using "&#8364" or "&euro" in the html... if he were editing html. Since he can't, you need to make sure they are entering it directly from the keyboard; the other issue may be if they are trying to copy / paste the character. If for example they are copying a document from email or MS Word, then pasting it into the InContext browser, the encoding will almost always get messed up.
    Either way, I would ask them to use one of these methods:
    The US keyboard shortcut for the Euro sign is alt-0128.
    The Compose key sequence for the euro sign is =E. On many European keyboard layouts, the symbol can be entered as AltGr+E, on others as AltGr+4 or AltGr+5, according to official recommendations.
    On the Mac OS operating system, a variety of key combinations are used depending on the keyboard layout (for example, option-2 in British layout, option-shift-2 in United States layout).
    Using the US keyboard shortcut for the Euro sign is alt-0128, as you can see, works fine here €     (this editor translates that as "&euro").
    This page is encoded as follows:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta http-equiv="Content-Language" content="en-US" />
    You can see a difference on content management systems where their database uses a different Character-set.  You can read more on the character encoding as the W3C recommends: http://www.w3.org/International/O-charset

  • Print EURO symbol u20AC in smartform

    Hi All,
    I am trying to print the EURO symbol 'u20AC' in smartform; user types the euro symbol in the Invoice header text, but the Invoice smartform prints some other characters when I print the header text;
    Appreciate your help if some of you have a solution to print the euro symbol in the header text by smartform;
    Thank you very much
    Iver

    Gi,
    That is strange, it works fine for me. I copy the relevan parts into this thread.
    Regards,
    Aidan
    Symptom
    There are problems to print the euro character U20AC and and trademark character U2122.
    Cause
    This can vary depending on the device type used to create the spool and whether the system is Unicode or non-Unicode. The problem is because the characters are not supported in the system character set or the character set of the device type.
    Resolution
    In Unicode systems, these characters can be printed via windows and cascading fonts device type SWINCF. The unicode system codepage supports these characters and the character set 4220 of device type SWINCF also supports these characters U20AC and U2122. In a Unicode system, it is also possible to print the euro and trademark characters via Unicode device types like HPUTF8 or LEXUTF8 In this case, the printer must also be Unicode. i.e. It must have a built-in hard disk, which contains Unicode fonts and symbol sets.(see notes 750219 and 215015)
    For non-unicode systems, it is more difficult. For sapscript and smartforms, it is possible to use both signs for releases >= 4.6A. In the graphical SAPScript editor, available as of, you can select "Edit"   > "Command..."-> "Insert Command" -> "SAP character" and then enter the SAP character number 156 (Euro sign) or 357 (trademark sign). With this method, it is possible to print the euro and tradwmark characters. You need to use one of the device types specified in note #129581. or in the old line editor, you can  enter <156> or <357>(between "<" and ">" without spaces). It is not necessary to add any character to the character set if you use one of thes device types listed in note #129581. The print of the euro and trademark characters are only possible for postscript device types POST2, I2HPPS and I4HPPS after you implement note #1334841.

  • Euro Symbol display

    My 10g2 db is using the character set WE8MSWIN1252 and I even set NLS_CHARACTERSET to this value before launching my Windows application that uses the thin java client to connect to my Oracle db. The column is NCHAR and I can see the proper Euro symbol if I insert CHR(128) every time I want to use this symbol. But, it is not practice for me to parse all user input.
    Is there a database mechanism so that the Euro symbol (hex AC) is displayed properly without additional SQL on the insert?

    Java app running thin client shows the Euro symbol as
    a "L" on it's side. If I change to chr(128) on the
    insert, then it displays just fine in the
    application. But this is not practical since it is
    based on user input.Do you know how the java app inserts into the database?
    What jdbc driver do you use? What Oracle Client version if any?
    Decimal value for euro symbol U+20AC is 8364, not 128.
    Code point 80 (128 dec) in AL16UTF16 is a control character.
    However if the value is interpreted in the context of another character set, say, windows-1252 then it would be a euro symbol.
    >
    So how can the chr(172) I have stored be displayed as
    the proper Euro symbol?Is the U+00AC "not sign" what you mean by a '"L" on it's side'?
    Message was edited by:
    orafad

  • Euro Symbol bootcamp

    Euro Symbol with Windows 7 Bootcamp
    I'm using a Macbook with Windows 7 via Bootcamp and I'm having a hard time finding the Euro Symbol. I've tried every combo of numbers+alt+shift.
    Is it possible to enter the Euro symbol without copying it from the internet?

    I didn't realize there was a bootcamp section. Thank you, here's the link to the same question in the bootcamp forum.
    https://discussions.apple.com/thread/3234537

  • Euro symbol not displayed/stored correctly when Application Server on AIX

    Hi,
    Up till now we have an BC4J/ServiceFile/UIX application (generated with JHeadstart)running on Windows OS (Application Server and Database).
    The customer has decided to move the Application Server (10g) to an AIX machine.
    When testing the application we find:
    1) Euro symbol (€) is displayed en stored correctly when stored in varchar2 db-columns
    2) The Euro symbol is not stored correctly when stored within a CLOB db-column AND when the AS runs on an AIX.
    When the Application Server runs on a Windows-platform the euro symbol is displayed and stored correctly.
    Our first guess was some NLS_LANG configuration problems on the AIX-machine. We tried however to set the NLS-LANG to "DUTCH_THE NETHERLANDS.WE8MSWIN1252". This had no visible effect.
    Are there other (if any) NLS-settings which influence the way the CLOB-columns are dealt with?
    When connecting to the same database from a Windows-Application Server no problems occur, thus showing that the problem is AS/OS specific.....
    Our guess is that is related to BC4J and how BC4J communicates with the database.
    Is this problem a known bug/issue?
    Any ideas how to solve this problem?
    We are using JDeveloper 9.0.3.1 (build 1107), Business Components Version is 9.0.3.10.62
    Thanks,
    Anthonie

    Sorry, I'm having difficulty understanding what's happening here. Let me see if I get it.
    You have an application that stores the euro symbol in a CLOB. When the server that handles this application is on AIX, the euro is not properly displayed in the client. When the server is on Windows, it displays properly.
    Is that the issue? If so, it could be a number of things, but it's probably related to the character set differences between the two database servers.
    Have you been able to reproduce this without using Business Components?
    -SteveA

  • HOW TO TYPE EURO SYMBOL

    HOW TO TYPE EURO SYMBOL IN ILLUSTRATOR

    And for other symbols; Window > Type > Glyphs is your friend.

  • Making the French grave and the Euro symbol

    On previous Mac computers I've been able to make the euro symbol, using shift/option 2. Now, on a new iMac, using Leopard, I can't find a way to do it. And I've never ever been able to make the grave symbol. I have various printouts of all the different symbols available on the Mac but none of their suggestions for the grave and the euro will work. Can somebody suggest a way around this problem?

    On previous Mac computers I've been able to make the euro symbol, using shift/option 2. Now, on a new iMac, using Leopard, I can't find a way to do it. And I've never ever been able to make the grave symbol. I have various printouts of all the different symbols available on the Mac but none of their suggestions for the grave and the euro will work. Can somebody suggest a way around this problem?
    Enable "Keyboard Viewer" in the "Input Menu" tab of "International" system preference, and check "Show input menu in menu bar" at the bottom of the window. You can then select "Keyboard Viewer" from the flag in the menu bar. If you press Option, Shift-Option, or Command-Option, you will see the special characters. If an accent shows with a coloured background, it will be put over the next character you type. On my keyboard, Euro is Shift-Option-2 €, accent grave is left of "1". Option-` puts ` over the next character. è à ò ù
    I am using the Australian keyboard layout, but interestingly enough, though it's ticked it's greyed out in the system preferences.
    If you only have one keyboard checked, the check-mark will be greyed out, since you would have no keyboard if you unchecked it.

Maybe you are looking for

  • How can I get a hidden back

    How can i get a hidden app back on my home screen of my iPhone It was purchased and then deleted by accident

  • Current official Lion bug list URL?

    I am looking to upgrade to Lion, but only when I can determine that the bugs that will affect me most have been eliminated.  Is there any web site (at Apple or elsewhere) that maintains a current bug list for Lion?  I don't mean an aggregator of unsu

  • What r the events in alv's

    what r the events contain in alv's plz give in an order clearly with decsription

  • EPMServer processes don't die after dmgtd stop - LMS 4.2 Solaris

    I am unable to kill EPMServer processes after shutting down LMS 4.2 on Solaris 10. There are still 60 or so EPMServer processes running. Killing them manually does not work as they appear to restart again after killing. Only way to knock them off is

  • Code verification

    I am trying to get the playhead to move to a frame labeled "features" when the cursor is held over a MC called features_mc. The code below seems right but upon testing the movie I get an error message that says "The class or interface 'MouseEvent' co