Oracle 8i - Tomcat 5.5 - Euro sign problem

Hello,
I've this configuration : Oracle 8i - Tomcat 5.5.
I try to read/write a Euro sign (€) in my database but all I see is a strange sign (like ? inverted).
I've no problem with accented characters.
With Tomcat 6 the problem don't exist, but I have some clients with Tomcat 5.5.
Is it a problem about Oracle JDBC Drivers? ( I've used : ojdbc14.jar and orai18n.jar )
Thanks.

1) What is your database characterset?
2) What is your connection characterset?
3) How are you verifying the character?
ad 1: The euro sign is not available in most charactersets (it is available in ISO-8859-15 and UTF-8/16/32 variants).

Similar Messages

  • Connection Problem with Oracle and Tomcat.

    I was able to enter Oracle using scott/tiger when I did not connect Tomcat.But when I connect tomcat I am unable to log onto Oracle.
    When I logged to the database then I tried to start the Tomcat but it gave an exception.So I went to the task manager and ended the running processes like isqlplus.exe, oracle.exe, tomcat.exe, apache.exe.When I ended all the processes except oracle.exe, tomcat gave an exception. But when I ended oracle.exe Tomcat started working but Oracle stopped working. I don't know what the problem is.
    Can anyone help me out?
    Thanks,
    Sravanthi.

    > Can anyone help me out?
    Yeah sure. Is there a SQL or PL/SQL related question in there.. somewhere.. hiding away?
    After all, you do realise that the name of this forum is SQL and PL/SQL and that it deals with the SQL and PL/SQL languages in the Oracle server.. right?

  • Problem inserting the euro sign using JDBC

    Inserting the euro sign into a char field of a DB2 table using JDBC results in getting a control char (SUBSTITUTE / ASCII 26) in the field, instead of the expected euro sign.
    I tried both the "old" DB2 driver (db2driver.zip) and the new one (db2jcc.jar). I get the same result in both cases. I also thought this might be a problem of different character sets between the client machine and the database server, but the problem doesn't occur if i use non java third party tools (like WinSQL) to insert the euro sign...
    Any idea?
    Colargol

    Something like below will verify that you can send the character to the database, store it, and return it with java. You need to run this in a Unicode compliant tool, like Eclipse 3.0.
                   //Euro character in Unicode is below, insert it into DB.
                   int myCharacterInteger = 0x20AC;
                   String myChar = new String(new char[]{(char) myCharacterInteger});
                   System.out.println("My character inbound is " + myChar);
                   pstmt.setString(1, myChar);
                   pstmt.execute();
                   pstmt.close();
                   //Euro character in Unicode is below, insert it into DB.
                   PreparedStatement pstmt2 = dbc
                             .prepareStatement("select * from tmp_junk");
                   ResultSet rs = pstmt2.executeQuery();
                   while (rs.next())
                        System.out
                                  .println("My character from DB is " + rs.getString(1));If that returns the character properly from DB, examine how the character is being input into java, you may inadvertently be changing character sets there.
    PS - that may not be right character, but you get the idea. We don't use Euros much where I work. ;-)
    -Scott
    http://www.swiftradius.com

  • Problem with encoding euro sign in simple select

    select '€' from dual;
    should fulfill the requirements mentioned in
    http://www.oracle.com/technology/products/database/sql_developer/files/relnotes_v121.html#sec4
    But the Euro sign is displayed as a result only when connected to a DB with UTF8 encoding. When connected to a SBCS DB with encoding WE8MSWIN1252, ¬ is displayed instead. chr('€') displays 172, which is equal to the last byte of the UTF8 representation of the Euro sign \u20ac = e2 82 ac.
    The Euro sign is included in WE8MSWIN1252 with code 128, so I would expect the result of "select '€' from dual " to display correctly in both cases.
    I have just downloaded the current version Oracle SQL Developer 1.2.1, java version is 1.6.0_02-b06.

    This is what I am trying to establish. This forum is about Oracle SQL Developer, so the example was for SQL Developer. Yes, you do not need the feedback on command.
    My point is that for a number of my colleagues, all using the database encoding WE8MSWIN1252, we do not see the upside down question mark. In SQL Developer, we see the correct Euro symbol.
    I will continue to investigate this issue.
    I have tested this using NLS Settings for German, France, Ireland, United Kingdom and America, for my database with encoding WE8MSWIN1252. These all display the correct euro symbol and not an upside down question mark, whether I use the data tab in the table definition grid, or by running F9(run statement) or F5 (run script) in the SQL Worksheet in SQL Developer.
    You do not need to send me any configuration files. Just confirm that you are on the latest release , 1.2.1.32.13 and have not replaced any files once you installed this release. I will also work with our internationalization team to track down the issue. Currently the only difference is the Java version you are using.
    Sue

  • Layout and euro sign in reports 2.5

    Well my problem is that I can't get a good layout of my reports when I use
    different printers .My developing printer is a Xerox DC 220, and I use also a
    hp laserjet4 plus driver . I can't get a Standaard layout for printing my
    reports.I am daying to layout each report for each printer and as we have many
    customers it's not smart to make many layouts for each customer .
    Is there any way or method to make a Standaard reports layout for differnt
    printers?? another problem is I can't get an Euro sign when I print my reports
    I got a patch from Microsoft site just for Euro (on windows NT 4.0)but it
    doesn't work !!!!!
    I am using reports 2.5 release(2.5.5.2.7) on a windows NT 4.0 ,build nr(1381)
    service pack (6.0) my oracle database is 7.3.4
    My printer is Xerox DC 220 and hp laserjet 4 plus driver
    Well the main problem is the layout I can't get a WYSISWYG layout !! it's
    really annoying to get something on my screen or preview and when I print it
    I see something totally different ...
    when I get a proper layout from my printer and send it to my customer they get
    something else as layout .. I am using a default prt file in all my reports.
    we have using a windows NT 4.0 with a service pack 6.0 and an euro patch from
    microsoft but still doesn't work !! however when i use windows98 it works just fine !!
    null

    Double-click on the field on the layout and write something like:
    if <condition> then return false;
    in the field 'Format trigger' to the bottom of the dialog.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Siamesse Twin ([email protected]):
    Im tryng to hide some field due to some conditional values in reports 2.5.
    It's easy when you are working with Reports 3.0(Rigth Click on the item and Conditional Formating apppears), but I dont have any idea where to start in reports 2.5.
    Please if anyone could help me .<HR></BLOCKQUOTE>
    null

  • Euro sign in Report Query (RTF file)

    Hi all,
    I configured XML publisher as report server for report queries.
    All seems to work well, except printing of euro signs.
    When designing a template locally in word, everything works. When the RTF file is uploaded to apex and tested, the euro sign is displayed as a "?".
    All charactersets are WE8MSWIN1252 (Database + modplsql), but I'm not able to find any NLS setting in XML publisher.
    Anybody have experience with this?
    Regards Guido

    Guido,
    I agree with you that this is a BI Publisher problem. The problem does not only appear with ApEx, for example see
    Problem with symbol euro
    I guess you are running BI Publisher on a non Windows machine, so you have to register the true type font. To do this, refer to BI Publisher documentation:
    http://download.oracle.com/docs/cd/E10091_01/doc/bip.1013/b40017/T421739T481157.htm#4535419
    (section External fonts).
    I haven't tried myself, but it seems that the only things you have to do is (copied from the docs):
    Place the font on the server.
    Place the font in a directory accessible to the formatting engine at runtime.
    Set the BI Publisher "font" property.
    You can set the font property for the report in the BI Publisher Font Mappings page, or in the configuration file.
    To set the property in the configuration file:
    Update the BI Publisher configuration file "fonts" section with the font name and its location on the server. For example, the new entry for a TrueType font is structured as follows:
    <font family="MyFontName" style="normal" weight="normal">
        <truetype path="\user\fonts\MyFontName.ttf"/>
    </font>Regards
    Stephan

  • Inverted question mark  (¿) displayed insted of euro sign (€)

    Hi folks,
    when I'm trying to open an existing report (created and built on colleagues machine) in my Report Builder (v 10.1.2.0.2) instead of euro sign (€) is displayed inverted question mark (¿).
    When I open this report with other machine, everything is fine. So it looks to me, that something is wrong with my machine - some settings.
    I compared Regional and Language settings within Control Panel,in register NLS_LANG (AMERICAN_AMERICA.WE8MSWIN1252) - on both machines and it is the same.
    What can cause this problem?
    Many Thanks,
    Tomas

    Yes I have, I checked character codes on my machines.
    I reinstalled Oracle forms and reports (10gR2) and after re-installation it is working fine. I have no idea what causes this problem.
    Thanks,
    Tomas

  • Euro-sign (and Greek) doesn't work even with nchar/nvarchar2

    This is something that has been blocking me for a few days now, and I'm running out of ideas.
    Basically, the problem can be summarised as follows:
    declare
        text nvarchar2(100) := 'Make €€€ fast!';
    begin
      dbms_output.put_line( text );
    end;And the output (both in SQL Developer and Toad) is:
    Make ¿¿¿ fast!See, I was under the impression that by using nchar and nvarchar2, you avoid the problems you get with character sets. What I need this for is to check (in PL/SQL) what the length of a string is in 7-bit units when converted to the GSM 03.38 character set. In that character set, there are 128 characters: mostly Latin characters, a couple of Greek characters that differ from the Latin ones, and some Scandinavian glyphs.
    Some 10 other characters, including square brackets and the euro sign, are escaped and take two 7-bit units. So, the above message takes 17 7-bit spaces.
    However, if I make a PL/SQL function that defines an nvarchar2(128) with the 128 standard characters and another nvarchar2(10) for the extended characters like the euro sign (the ones that take two 7-bit units), and I do an instr() for each character in the source string, the euro sign gets converted to an upside-down question mark, and because the delta (the first Greek character in the GSM 03.38 character set) also becomes an upside-down question mark, the function thinks that the euro sign is in fact a delta, and so assigns a length of 1.
    To try to solve it, I created a table with an nchar(1) for the character and a smallint for the number of units it occupies. The characters are entered correctly, and show as euro signs and Greek letters, but as soon as I do a query, I get the same problem again. The code for the function is below:
      function get_gsm_0338_length(
        text_content in nvarchar2
      ) return integer
      as
        v_offset integer;
        v_length integer := 0;
        v_char nchar(1);
      begin
        for i in 1..length(text_content)
        loop
          v_char := substr( text_content, i, 1 );
          select l
          into v_offset
          from gsm_0338_charset
          where ch = v_char;
          v_length := v_length + v_offset;
        end loop;
        return v_length;
        exception
          when no_data_found then
            return length(text_content) * 2;
      end get_gsm_0338_length;Does anybody have any idea how I can get this to work properly?
    Thanks,
    - Peter

    Well, the person there used a varchar2, whereas I'm using an nvarchar2. I understand that you need the right codepage and such between the client and the database if you use varchar2, which is exactly the reason why I used the nvarchar2.
    However, if I call the function from /Java/, it does work (I found out just now). But this doesn't explain why SQL Developer and Toad are being difficult, and I'm afraid that, because this function is part of a much bigger application, I'll run into the same problem.
    - Peter

  • Flat file and encoding of euro sign

    Hello,
    I have a problem with a flat file which contain the euro sign. The file is encoding in ISO-8859-15.
    I try to send the contain of the flat file in a DB2 database and it works fine. All characters are well encoding (é,è,û, ...) except for the euro sign.
    When I execute the following request :
    SELECT HEX(SUBSTR(FIELD,1,1)) FROM TABLE
    where the first character of FIELD is the euro sign which is malformed, I get '80'.
    In the topology, I tried with this :
    jdbc:snps:dbfile&ENCODING=ISO8859_15
    and this : jdbc:snps:dbfile&ENCODING=Cp1252
    but the result is the same... :-(
    Could you say me how to solve this problem please?

    Sorry I did a mistake. I didn't considered the good topology...

  • GEN-- How to display Euro (€) sign in Reports 9.0.4.033

    With Report Builder 6i we have no problem with display Euro sign. Since we've updated to version 9, instead of showing Euro sign, it displays an ¿
    Please help. Thanks a lot

    Maybe your answer is here:
    http://www.cs.tut.fi/~jkorpela/html/euro.html
    Hrefna

  • Adobe reader don't recognize the euro sign

    I installed adobe reader on 2 pc's with windows xp sp3.
    On one pc the euro sign in the pdf file is normal and on the
    other pc the euro sign will not be recognized.
    I did install adobe reader 9 on both pc's again, but
    still the same.
    What can be the cause???
    I hope to hear from somebody with the same problem
    and how to solve it.
    best regards

    Hi FEATISOUPOM,
    In order to help you better please let me know which operating system you are using name and version of operating system.
    Also let me know what is happening when you are trying to open the pdf document.
    You may try right click on the pdf document and choose option open with and browse for reader application if you are using windows.
    Regards,
    Ajlan.

  • Type euro sign on Windows 7 64-bit Lenovo X201

    Hi,
    The subject says it all: how do I type a Euro sign on my Lenovo X201, Windows 7, 64-bit. It is a US keyboard.
    I have tried Alt+4, Alt+5, Alt+e, etc, ....
    Thanks.
    Solved!
    Go to Solution.

    For others with this problem, there are a couple solutions. First you can use the ALT codes, but this requires a separate numeric keypad (not the numbers along the top of a laptop). Instructions for that are here.
    With a laptop you need to use one of the alternate methods here.
    Or if you are using Firefox or PaleMoon you can use this addon. The last is my favorite because it allows you to use characters from any language, including extended characters, with no need to lookup a code.  Here is the Euro € and it took 2 mouse clicks.
    Hoov
    Microsoft MVP - Consumer Security
    SpywareHammer.com

  • Apostroph and euro sign not read corectly from txt file

    apostroph and euro sign not read corectly from txt file.
    my code is like this:
    FileInputStream fis= new FileInputStream(x+".html");
    BufferedReader br=new BufferedReader(new InputStreamReader(fis,"UTF-8"));
    String Line="";
    while ((Line = br.readLine()) != null) result+=Line;
    br.close();
    fis.close();
    I use UTF-8 because the file contains also French characters.
    What's the problem?
    THANK YOU!

    apostroph and euro sign not read corectly from txt
    file.
    my code is like this:
    FileInputStream fis= new FileInputStream(x+".html");
    BufferedReader br=new BufferedReader(new
    InputStreamReader(fis,"UTF-8"));
    String Line="";
    while ((Line = br.readLine()) != null) result+=Line;
    br.close();
    fis.close();
    I use UTF-8 because the file contains also French
    characters.
    What's the problem?
    THANK YOU!
    This is from the FileInputStream API documentation:
    FileInputStream is meant for reading streams of raw bytes such as image data. For reading streams of characters, consider using FileReader.

  • Str_replace how to replace/remove an euro sign

    Hi
    I hope somebody can help me out.
    I have a euro sign which I have to remove before I can send a total price to the Dutch merchant system iDEAL.
    I succeed to replace a comma by a dot.
    I succeed in replacing a non-dynamic generated euro-sign on my testing machine but
    I don't succeed in getting it out of the way on my remote server.
    Does somebody see where I go wrong?
    <?php
    $metKomma = cartweaverMoney($cart["CartTotals"]["Total"]);
    $vervangKomma = str_replace(",", ".", $metKomma);
    $kommaVervangen = $vervangKomma;
    echo $kommaVervangen;
    echo "  ";
    $vervangtEuro = str_replace("€", "", $kommaVervangen);
    $naarIdeal = $vervangtEuro;
    echo $naarIdeal;
    ?>
    Yes it could be a little shorter and also the echo's in between are not really needed. Its just to help me find where I go wrong.
    Any help is greatly appreciated

    Found the answer.
    The problem was in the imported codeblock not in the str_replace.
    Thanks

  • Dear Apple Good Morning Greetings from me. i use  IPHONE 5 in bangladesh. but now i facing a problem that is the signing problem the phone is not open even i cannot enter this phone is says Sign in to ICLOUD but i dont know the password what i do

    Apple please help me
    Good Morning
    Greetings from me.
    I used last 3 month  IPHONE 5 in bangladesh. but now i facing a problem that is the signing problem
    the phone is not open even i cannt enter this phone
    is says
    Sign in to ICLOUD
    Enter the Apple ID password for
    but i dont know the password. Please brother help me to use this phone. i brought this phone from some one 355pound. so i am in helpless.i am facing big trouble i dont have enough money for purchase another one. please help me...........................
    <E-mail Edited by Host>

    You need the previous owner to unlock it, unless they do you have a brick there is no other way .
    iPhone was probably stolen if you purchased on eBay, claim and get your money back
    See here
    http://support.apple.com/kb/HT5818
    for explanation of Activation lock
    APPLE will not help you

Maybe you are looking for