Euro Symbol and Oracle

How can I display Euro Symbol in Oracle - if shows now as a opposite ?. I read that I ned to change the character set to WE8MSWIN1252. How can I figure out what set we are currently using?
Thanks,
MJ

The "right answer" here is that the third party application does not support the Euro character (or any other character not in ASCII 1-127).
My hunch is that the third party vendor has built an application that relies on unsupported Oracle behavior-- if your client NLS_LANG and database character set are identical, Oracle does not do character set translation when you send an retrieve data. This can allow a single application to appear to "get around" the limitations of the database character set. Basically, if every application that stores and retrieves data agrees to lie to Oracle in exactly the same way (i.e. I have Chinese data encoded in Big5, but I tell Oracle it is US7ASCII when I store and retrieve it, then treat it as Big5 after I've retrieved it) an application can appear to store Chinese data in an ASCII database. If any application that does not know how to "properly" lie to Oracle tries to query the data, however, the non-ASCII data will not be retrieved correctly. Since Oracle utilities (import, export, database links) and various layers like JDBC don't know how to "properly" lie to Oracle, this is generally not a long term solution.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Problem Inserting Euro Symbol and few others

    We are using java application with oracle 8.1.6 as the db with the charset as WE8ISO8859P15. ALl the forms are using multipart request. We cannot do away without that. When trying to insert euro symbol and few other western european characters, they get converted to something else before getting stored in the db and so we are not able to display them properly on retrieval.
    Can anyone please help in this direction?

    Just set the nls_charset.zip in classpath and then try to insert into db.I think it might not be a problem with database.(note. if u insert euro character it will be reside in db, as some format but u retrive it and stream it thru servlet it will be displayed in the browser properly, if u write using printwriter then it might give "?" / "O" in browser. refer http://www.inter-locale.com/faq/blacksquares.jsp).

  • Euro Symbol in Oracle

    Hi All,
    I want to print Euro symbol in oracle.
    Please advice how we can do that.
    Regards,
    Shruti

    Hi;
    Please follow donw links and see helpful
    Subject: Using Pasta to Print Euro € Symbol Print Incorrect Spurious Character Doc ID: 373504.1
    Subject: Euro Symbol not Printed with Oracle Reports Doc ID: 168337.1
    Subject: Dunning Letters Unable To Print € And £ Symbols in PDF Format Doc ID: 388657.1
    Subject: How to print the Euro Character In PostScript on UNIX platforms. Doc ID: 251732.1
    Regards
    Helios

  • Euro symbol and Internet Explorer

    Hi,
    I'm trying to display in a HTML page a Euro value using an Italian Locale. The output is always a question mark followed by the correct Euro value (i.e. ? 513,45).
    My client browser is IExplorer 5.5 sp2. JSP server is TOMCAT latest release. Web services are under IIS (NT 4.0)
    I'm using the following code in a JSP page.
    <%
    java.util.Locale ELocale=new Locale("it", "IT", "EURO");
    double Euro=1936.27;
    out.println(NumberFormat.getCurrencyInstance(ELocale).format(24900/Euro));
    %>
    Somebody can help me ?

    HI Mario,
    definately your encoding. Just about every European encoding nowadays has two versions - the old one, and the new updated one that carries one extra character - the Euro symbol.
    Unfortunately, I can't tell you off the top of my head what the name of the right encoding to use would be, but the JDK documentation points to a list of all defined encodings, which should contain the one you're after.
    Hope that helps!
    Martin Hughes

  • I want to delete the euro symbol and restore thr dollar symbol.  Ihave English and qwerty selected in settings

    I have somehow changed the dollar symbol to a euro symbol.  I have english and qwerty selected insettings

    Settings>General>Keyboard>International>English>U.S. is it set like that?
    If you tap the 123 key and then tap the #+= key you can toggle between the $ and the euro sign on the U.S. English keyboard.

  • Euro symbol and beyond

    One types the € symbol with option-shift-2 on the US keyboard.  I think it would be more "Mac-like" if one held the shift-4 keys for a few moments and a menu came up offering €, £, ¥ and others.

    Or, if you do not want to wait for Apple, you can take advantage of keyboard substitution. In System Preferences > Keyboard > Text, I added a substitution. Whenever I type !$, I am prompted to replace it with the € symbol.
    In the With side, I simply keyed in shift+option+2.

  • Oracle 9i - problem with euro symbol

    HI,
    I have a database on oracle 9i and i can't store the euro symbol ( it is stored like a '?' reverse).On the server I have NLS_CHARACTERSET=WE8MSWIN1252 and for
    NLS_NCHAR_CHARACTERSET=AL16UTF16.
    Which superset is needed for this parameter to display the euro symbol and if I can do the change if the my NLS_CHARACTERSET is not a superset for NLS_NCHAR_CHARACTERSET ?
    Thanks.

    HI,
    I have a database on oracle 9i and i can't store the euro symbol ( it is stored like a '?' reverse).On the server I have NLS_CHARACTERSET=WE8MSWIN1252 and for
    NLS_NCHAR_CHARACTERSET=AL16UTF16.
    Which superset is needed for this parameter to display the euro symbol and if I can do the change if the my NLS_CHARACTERSET is not a superset for NLS_NCHAR_CHARACTERSET ?
    Thanks.

  • Put euro symbol in ISO-8859-1 database

    is it possible to use jdbc to store a euro symbol in oracle with character set ISO-8859-1 then retrieve the information with jdbc and write it to a ISO-8859-15 textfile and display the euro symbol properly. i'm trying to do this and it doesn't work. as output i use a OutputStreamWriter object in Java using ISO-8859-15 to create an XML file and then i open it in Internet Explorer. it doen't recognize the euro symbols. strange thing is that when i view the source in notepad it does display the euro symbols properly. just using the OutputStreamWriter to write euro symbols also works well.
    i'm trying to find out what is causing this problem but i'm not quite sure. i never before had problems with character sets so it's all a bit new to me.
    thank you in advance.

    The ISO-8859-1 character set does not contain the Euro character, so the database cannot hold it properly. If you want the Euro character to appear in your database, you would have to change the database character set to something that can store the euro character (or make use of your national character set, if that will store the euro character).
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Euro symbol appearing as ? on oracle forms

    i am using application server 10gR2 forms and report services standalone which is connected to oracle db 10gR2 , all on one box running solaris 5.10
    the db characterset is WE8ISO8859P15 which i think support EURO symbol. So when i store euro symbol in a varchar2 column, I am very well able to retrieve the euro symbol in pl/sql developer. However the issue is with forms as the forms screen display the euro symbol as question mark (?)
    I have set NLS_CURRENCY to alt+0128 and NLS_LANG to AMERICAN_AMERICA.WE8ISO8859P15 in .env file.
    Any suggestions on how to go about displaying EURO symbol on forms screen would be appreciated.
    SQL> select * from nls_database_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_CHARACTERSET WE8ISO8859P15
    NLS_DATE_LANGUAGE AMERICAN
    NLS_DUAL_CURRENCY $
    NLS_LENGTH_SEMANTICS CHAR
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 10.2.0.1.0

    I obtain the symbol euro in my sapscript  form,
    I only add the next code in the editor of sapscript:
    <156>
    The table TCP01 contains all code that SAP provide,
    the field CPCHARNO is the corresponding for 156.
    The "problem" is that you see the symbol only when you print in your printer (no preview).
    believe me! 
    Cordial greetings.

  • Insert euro symbol - Oracle 9i

    Hi,
    I can't insret the euro symbol , the dba is on oracle 9i.
    On the server I have NLS_CHARACTERSET=WE8MSWIN1252 and for NLS_NCHAR_CHARACTERSET=AL16UTF16.
    Which superset is needed for this parameter to display the euro symbol?
    Thanks

    As far as I know, euro is not in code page 437 (US English). IBM's web site has more information for you.
    http://www.ibm.com/Search?v=11&lang=en&cc=us&q=code+page+437

  • Struts and euro symbol

    Hi there,
    I am facing the following problem.
    I am working in a project with Struts.
    If I write in any of the text input within a jsp the euro symbol, I get one of the others input text (hidden) as null in the Action (it is the first text input).
    If I include
    <%@page language="java" pageEncoding="utf8" contentType="text/html; charset=UTF8"%>
    at the top of the jsp file and
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    in the html head every thing is ok but I get a strange symbol "�&#130;�" instead "�".
    Anyhelp would be appreciate.
    Regards,
    Sergio

    Thank you, but it does not work.
    I have tried with ISO-8859-15 instead of UTF-8. Now, I am getting an ?.

  • Pound (currency) symbol, and Euro symbol on invoice template.

    Hi - I have written an invoice using one of the pages templates. I changed the Euro symbol (€) to a pound symbol (£) but every time it is automatically changed back to pound symbol again. Having entered the pound symbol. how can I make it stay there?

    Hi there - Thanks, but I've got it sorted - I had to select a cell within the invoice template, then click on Table Inspector, then format, then currency, then select currency. I would prefer to just delete the currency symbols with the mouse, and then put in the ones I want, but I know how to do it now. Maybe Britain should just join the Euro - or maybe not?

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

  • Problem with Unicode and Oracle NCLOB fields

    When I try to INSERT a new (N)CLOB into an Oracle database, all is fine until I use a non-ASCII character, such as an accented roman letter, like the "�" (that's '\u00E9') in "caf�" or the Euro Currency symbol "?" (that's '\u20AC' as a Java character literal, just in case the display is corrupted here too). This doesn't happen with "setString", but does happen when streaming characters to the CLOB; however, as Oracle or the driver refuse strings larger than 4000 characters, and as I need to support all the above symbols (and many more), I'm stuck.
    Here's the background to the problem (I've tried to be detailed, after a lot of looking around on the web, I've seen lots of people with similar problems, but no solutions: I've seen and been able to stream ASCII clobs, or add small NCHAR strings, but not stream NCLOBs...).
    I'm using Oracle 9.2.0.1.0 with the "thin" JDBC driver, on a Windows box (XP Pro). My database instance is set up with AL32UTF8 as the database encoding, and UTF8 as the national character set.. I've created a simple user/schema, called LOBTEST, in which I created two tables (see below).
    The basic problems are :
    - with Oracle and JDBC, you can't set the value of a CLOB or NCLOB with PreparedStatement's setString or setCharacterStream methods (as it throws an exception when you send more than 4000 characters)
    - with Oracle, you can only have one LONG VARCHAR-type field per table (according to their documentation) and you MUST read all columns in a set order (amongst other limitations).
    - with a SQL INSERT command, there's no way to set the value of a parameter that's a CLOB (implementations of the CLOB interface can only be obtained by performing a SELECT.... but obviously, when I'm inserting, the record doesn't exist yet...). Workarounds include (possibly) JDBC 4 (doesn't exist yet...) or doing the following Oracle-specific stuff :
    INSERT INTO MyTable (theID,theCLOB) VALUES (1, empty_clob());
    SELECT * FROM MyTable WHERE theId = 1;
    ...and getting the empty CLOB back (via a ResultSet), and populating it. I have a very large application, that's deployed for many of our customers using SapDB and MySQL without a hitch, with "one-step" INSERTS; I can't feasibly change the application into "three-step INSERT-SELECT-UPDATE" just for Oracle, and I shouldn't need to!!!
    The final workaround is to use Oracle-specific classes, described in:
    http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/jdbc-javadoc/index.html
    ...such as CLOB (see my example). This works fine until I add some non-ASCII characters, at which point, irrespective of whether the CLOB data is 2 characters or 2 million characters, it throws the same exception:
    java.io.IOException: Il n'y a plus de donn?es ? lire dans le socket
         at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java:716)
         at oracle.jdbc.driver.OracleClobWriter.flushBuffer(OracleClobWriter.java:270)
         at oracle.jdbc.driver.OracleClobWriter.flush(OracleClobWriter.java:204)
         at scratchpad.InsertOracleClobExample.main(InsertOracleClobExample.java:61)...where the error message in English is "No more data to read from socket". I need the Oracle-specific "setFormOfUse" method to force it to correctly use the encoding of the NCLOB field, without it, even plain ASCII data is rejected with an exception indicating that the character set is inappropriate. With a plain CLOB, I don't need it, but the plain CLOB refuses my non-ASCII data anyway.
    So, many many thanks in advance for any advice. The remainder of my post includes my code example and a simple SQL script to create the table(s). You can mess around with the source code to test various combinations.
    Thanks,
    Chris B.
    CREATE TABLE NCLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING NCLOB,
         PRIMARY KEY (ID)
    CREATE TABLE CLOBTEST (
         ID         INTEGER NOT NULL,
         SOMESTRING CLOB,
         PRIMARY KEY (ID)
    package scratchpad;
    import java.io.Writer;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import java.util.Properties;
    import oracle.jdbc.driver.OracleDriver;
    import oracle.jdbc.driver.OraclePreparedStatement;
    import oracle.sql.CLOB;
    public class InsertOracleClobExample
         public static void main(String[] args)
              Properties jdbcProperties = new Properties();
              jdbcProperties.setProperty( "user", "LOBTEST" );
              jdbcProperties.setProperty( "password", "LOBTEST" );
    //          jdbcProperties.setProperty("oracle.jdbc.defaultNChar","true");
              Driver jdbcDriver = new OracleDriver();
              PreparedStatement pstmt = null;
              Connection connection = null;
              String tableName = "NCLOBTEST";
              CLOB clob = null;
              try
                   connection = jdbcDriver.connect("jdbc:oracle:thin:@terre:1521:orcl", jdbcProperties);
                   pstmt = connection.prepareStatement("DELETE FROM NCLOBTEST");
                   pstmt.executeUpdate();
                   pstmt.close();
                   pstmt = connection.prepareStatement(
                        "INSERT INTO "+tableName+" (ID,SOMESTRING) VALUES (?,?);"
                   clob = CLOB.createTemporary(pstmt.getConnection(), true, CLOB.DURATION_SESSION);
                   clob.open(CLOB.MODE_READWRITE);
                   Writer clobWriter = clob.getCharacterOutputStream();
                   clobWriter.write("Caf? 4,90? TTC");
                   clobWriter.flush();
                   clobWriter.close();
                   clob.close();
                   OraclePreparedStatement opstmt = (OraclePreparedStatement)pstmt;
                   opstmt.setInt(1,1);
                   opstmt.setFormOfUse(2, OraclePreparedStatement.FORM_NCHAR);
                   opstmt.setCLOB(2, clob);
                   System.err.println("Rows affected: "+opstmt.executeUpdate());
              catch (Exception sqlex)
                   sqlex.printStackTrace();
                   try     {
                        clob.freeTemporary();
                   } catch (SQLException e) {
                        System.err.println("Cannot free temporary CLOB: "+e.getMessage());
              try { pstmt.close(); } catch(SQLException sqlex) {}
              try { connection.close(); } catch(SQLException sqlex) {}
    }

    The solution to this is to use a third-party driver. Oranxo works really well.
    - Chris

  • Not getting Euro Symbol in PDF Report using XML Publisher

    Hi,
    We have developed an Oracle Report from Report Builder 6i and also a Template in RTF Format.
    We are using XML Publisher to display our XML Output in PDF Format to Users..
    There is a Field called Comments on Customer Transaction Form, where user can enter any characters and that we are querying in Report and displaying on the PDF Output.
    Currently, the user entered a Euro Character on the comments section and that was not visible to user on PDF Report and replaced by a Question Mark as below:
    "3% price reduction ?89.91, 20% marine"
    When i am Querying to the Database, i am able to see the Euro Symbol, but when i checked the XML generated on the Unix Box for the Report. I found as below:
    "3% price reduction \342\202\25489.91, 20% marine"
    So, the Euro Symbol on the database is replaced by " \342\202\254" in the XML Output and ? in the PDF Outbut.
    Please help ASAP.
    Regards
    Saurabh Jaiswal

    one way
    value set based on view (view - select level id, chr(level) cl connect by level <= 500)
    for example, chr(64) - @
    so in xml you have code of @. sample xml is
    <ROWSET>
      <ROW>64</ROW>
    </ROWSET>in rtf template pick
    <?xdofx:chr(to_number(ROW))?>
    select chr(14844588)  from dual
    €Edited by: AlexAnd on Aug 23, 2011 12:46 AM

Maybe you are looking for