Polish (iso-8859-2) characters in JSP don't display properly...

I created a test JSP file:
<%@page contentType="text/html; charset=iso-8859-2"%>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
</head>
<body>
2+2=<%= 2+2 %><br>
<!-- this garbage are polish-specific characters -->
±æê³ñ󶼿
¡ÆÊ£ÑÓ¦¬¯
<br>
</body>
</html>
The problem is that one of polish-specific characters gets turned into
a question mark (the character o-dashed, "ó" and (capitalized) "Ó").
I searched the group archives but didn't found anything related to this
problem.
Lukasz Kowalczyk

Try using ISO8859_2 in place of iso-8859-2 on the @page directive and the charset=. Also in the weblogic.properties file, in the WEBLOGIC JSP PROPERTIES section, add the following lines:
verbose=true,\
encoding=ISO8859_2
It will work. I have done the same thing for SJIS just now.
Keep me informed about it.
Nikhil
Lukasz Kowalczyk <[email protected]> wrote:
I created a test JSP file:
<%@page contentType="text/html; charset=iso-8859-2"%>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2">
</head>
<body>
2+2=<%= 2+2 %><br>
<!-- this garbage are polish-specific characters -->
±æê³ñ󶼿
¡ÆÊ£ÑÓ¦¬¯
<br>
</body>
</html>
The problem is that one of polish-specific characters gets turned into
a question mark (the character o-dashed, "ó" and (capitalized) "Ó").
I searched the group archives but didn't found anything related to this
problem.
Lukasz Kowalczyk

Similar Messages

  • Problems reading Latin2 (ISO 8859-2) characters

    Hello!
    I want to read the content of an MS Access table (in an MDB file) using the JDBC:ODBC driver.
    The program works well but there is a character conversion problem when I read text fields from the table.
    The Latin2 (ISO 8859-2) characters like áéíóőűüöÁÉÍÓÜÖŰŐ are replaced by the "?" character.
    I use the ResultSet object's getString() method.
    Any idea about how to solve this problem?

    Try to change session encoding from defaut to iso-8559-2
    This probably would help:
    http://download.oracle.com/javase/1.4.2/docs/guide/jdbc/bridge.html
    >
    What's New with the JDBC-ODBC Bridge?
    * A jdbc:odbc: connection can now have a charSet property, to specify a Character Encoding Scheme other than the client default.
    For possible values, see the Internationalization specification on the Web Site.
    The following code fragment shows how to set 'Big5' as the character set for all character data.
    // Load the JDBC-ODBC bridge driver
    Class.forName(sun.jdbc.odbc.JdbcOdbcDriver) ;
    // setup the properties
    java.util.Properties prop = new java.util.Properties();
    prop.put("charSet", "Big5");
    prop.put("user", username);
    prop.put("password", password);
    // Connect to the database
    con = DriverManager.getConnection(url, prop);

  • Why some fonts don't display properly

    I use Windows 7, Pagemake 7 (with update 7.01)
    Some fonts don't display properly in pagemaker file. Sometimes they look blank; sometimes display in part and the rest as blank. In fit-in Window view, sometimes a page displays properly, and next page is blank, go back to the previous page, it also turns blank. Some times letters look garbled. Display varies as and when the view size is changed.Example for the fonts - Souvenir LtBt . What could be the problem and what is the solution ?

    Pagemaker is old software, it was designed for use when fonts were quite limited. It will only display the first 256 characters in a font.  Modern fonts have moved way beyond this limitation. The solution is to stick with older fonts, or to upgrade to indesign. It does sound like your souvenir font  could be corrupted, running font management software is a good practice no matter what program you use.
    Jay

  • The internet pages don't display properly I'm using osx10.3.3, yahoo for example asks me to update, but I cant find out how to as the apple store just keeps sending back to the same page with no down load option...do i need to up date or is it just my mac

    The internet pages don't display properly I'm using osx10.3.3, yahoo for example asks me to update, but I cant find out how, as the apple store just keeps sending back to the same page with no down load option...do i need to up date or is it just my mac

    What Mac model do you have? You might be able to upgrade the OS to Tiger 10.4 or Leopard 10.5.
    Even browsers for Tiger 10.4 will get the update message.
    You could try a newer browser than Safari, which is obsolete, by downloading Firefox v2.0.0.20 at http://www.oldapps.com/mac/firefox.php
     Cheers, Tom

  • ISO-8859-1 characters in xmlDom.domDocument

    -- Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    -- JServer Release 8.1.7.0.0 - Production
    -- Oracle XML Parser 2.0.2.9.0 Production
    -- OS: Windows 2000 Professional
    -- NLS_LANG in Oracle is: AMERICAN_AMERICA.UTF8
    -- NLS_LANG in registry (client) is set to: SWEDISH_SWEDEN.WE8ISO8859P1
    -- Description: Getting corrupt characters instead of the
    -- Swedish characters "edv" after parsing the clob.
    -- Output after running this script in sqlplus:
    --| BEFORE
    --| -----------------------------------------------------------------------
    --| AFTER
    --| -----------------------------------------------------------------------
    --| <?xml version="1.0" encoding="ISO-8859-1"?><asdf>aaa edv aaa</asdf>
    --| <?xml version = '1.0' encoding = 'ISO-8859-1'?>
    --| <asdf>aaa ??? aaa</asdf>
    --|
    set serveroutput on
    drop table xmltest;
    create table xmltest
    (before clob
    ,after clob);
    declare
    beforeClob clob;
    afterClob clob;
    xdoc xmldom.domdocument;
    parser xmlparser.Parser;
    begin
    insert into xmltest
    values('<?xml version="1.0" encoding="ISO-8859-1"?><asdf>aaa edv aaa</asdf>', empty_clob())
    returning after into afterClob;
    select before
    into beforeClob
    from xmltest;
    parser := xmlparser.newParser;
    xmlparser.parseCLOB(parser,beforeClob);
    xdoc := xmlparser.getDocument(parser);
    xmlparser.freeParser(parser);
    dbms_output.put_line('Parsed xml charset: '||xmldom.getCharset(xdoc));
    xmldom.writeToClob(xdoc, afterClob, 'WE8ISO8859P1');
    commit;
    end;
    select * from xmltest;

    Hi,
    This is a known issue. Within CLOB, Oracle DB will always store data in UTF-8, so the encoding setups will not work.
    Thanks.

  • 3.1 Bug? - Images don't display properly after upgrade to 3.1 from 3.0

    When pages are displayed after the upgrade, the image appears the first time the page is opened. Once a user goes to another page, then come back to the page with the image, the image is no longer displayed.
    This happens when the browser is set to "Check for newer versions of stored pages". When it checks for the new version, the image is not displayed.
    This looks like a Bug? Is someone working on a fix for this?
    Thanks.
    - Scott

    Scott,
    Thanks for this information. It is very helpful. May I put you through one last contortion, please?
    I would like to see what information is being passed in the HTTP header in the request for one of these broken images. If you have Live HTTP Headers or Firebug for Firefox, or Fiddler for IE, this should hopefully be easy. You don't seem technically challenged in the least, but just for the record, here's what I did using Firefox:
    1) Ran the Timesheets application
    2) For the very first icon on the left "My Timesheets", I right-clicked my mouse and chose "Copy Image Location"
    3) I opened up a new tab in Firefox and pasted the URL and then hit enter to retrieve the image
    4) I turned on Live HTTP headers and then clicked Refresh in my browser.
    I am most interested in the If-Modified-Since HTTP header. The full request on my system was:
    GET /pls/apx11c/wwv_flow_file_mgr.get_file?p_security_group_id=191046216955701077&p_fname=eba_timesheets.png HTTP/1.1
    Host: apexdev.us.oracle.com:7778
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Language: en-us,nl,it;q=0.9,en-gb;q=0.9,ja;q=0.8,de;q=0.8,zh-CN;q=0.7,zh-tw;q=0.7,en;q=0.6,af;q=0.6,fr;q=0.5,pt-br;q=0.5,ko;q=0.4,ca;q=0.4,de-ch;q=0.3,zh;q=0.3,bn;q=0.2,ja-JP;q=0.2,fr-ca;q=0.1,ru;q=0.1,ru-RU;q=0.0
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    If-Modified-Since: Wed, 20 Feb 2008 22:54:09 GMT
    If-None-Match: "1951996202472197182454517155409"
    Cache-Control: max-age=0Thanks in advance.
    Joel
    P.S. I nuked the Cookie line of the request, as it contained my e-mail address and I want to avoid the Web harvesters of e-mail addresses.

  • Album frames don't display properly: Since .MAC converted to MobileME help?

    ORIGINAL MESSAGE POSTED TO APPLE SUPPORT
    Ever since .MAC was recently down - and converted to Mobile Me - I have been having problems with my iWEB site:
    1. Frames around Photo Albums no longer display (on mac or win web browsers)
    - On Windows Computers - The Frames do not Display at all
    - On Mac (Safari or Firefox) they all look like see thru WIRE frames
    2. iWEB text box frames (that were once hidden) now seem to Display and
    they display in weir positions over and under other boxes.
    3. Safari Web Browser now ask to load certain fonts!
    4. Browsing my iWEB site is VERY VERY VERY SLOW!
    - From home
    - From work
    - over at friends
    In other words the speed of a persons internet connection does not seem to
    make any difference. It was all beautiful and fine before the transition, and now
    its slow.
    I have not done an upload to .MAC from iWEB for several months - so I don't believe it is anything I have done.
    My iWEB site is our FAMILY TREE site - so family members have been calling and telling me of the problems and the slowness over the past week.
    PS: I like the extra 10GB of storage, and the new Mobile ME features seem cool --BUT I MUST GET our family iWEB site running smooth once again.
    I have just recently upgraded to Leopard and for the most part everything is running fine - but as stated - I have NOT performed an iWEB upload using Leopard - the last was two months ago under Tiger.
    MacBookPro Intel Core Duo
    2.16GHz processor
    2GB RAM
    120GB Harddisk
    Mac OS X 10.5.4 (Jaguar - just installed July 7)
    Second posting to Support
    Hello,
    Ever since the transition - I'm still having the following problems with anyone trying to view my iWEB site (uploaded over 2 months ago before the Mobile ME transition).
    (of note: I performed the MobileME system update yesterday and that did nothing)
    1. Website redraw is VERY SLOW
    2. Text Box FRAMES are now Visible - when they were not before!
    3. Viewing my WEBSITE that I built using iWEB - the FRAMES applied to Photo and Movie Albums do not display properly as they did prior to the Apple mobile Me conversion. (see attached screenshot).
    As stated I have not done an iWEB upload for over two months - and everything was working fine until this Mobile me conversion. Now when viewing on Mac or Windows all of my Photo Album frames display improperly (they look like see through wireframes) when viewing in Safari or MS Explorer. NOTE: The albums will NOT display at all using FIREFOX.

    Since I recieved no responses I assume no one knows. Thanks anyway.

  • Adobe Reader Shortcut Icons don't display properly

    Uninstalled and reinstalled latest version. Recently used program list on XP Home S3 Start Menu doesn't display Adobe logo and neither does Adobe Reader 9 shortcut on All Programs. PDF shortcuts display properly.
    Tried to search knowledge base and found no relevant articles. I can't believe you have to buy support for Adobe products.
    Thanks

    You can use Properties | Change Icon to adjust the icons on shortcuts.  Unfortunately this has to be done on each shortcut itself; it will not adjust all of them automatically.

  • Altered graphics don't display properly

    I am running Lookout 6.2 on a small panel pc.
    I am using custom graphics which up to now display properly. I needed to make a couple of changes to the graphic, which was done on another computer then the exiting graphic was replaced with the new one, using the same name.
    Lookout displays the graphic but with messed up colour (greens are reduced to shades of grey) and the image is fuzzy. Untouched graphics remain ok
    Solved!
    Go to Solution.

    Thanks Ryan
    The resolution and colour were all correct, so I had the graphic re-drafted and this time it worked.
    Yet another mystery

  • Fonts don't display properly

    Sorry if this has already been answered - I wasn't able to see a previous question like this so...
    I am unable to have certain fonts display properly, most troubling is the lack of the Greek alphabet. For instance, changing or typing a letter "b" in Symbol font does nothing. I notice that the font appears to be applied to the text, but it is obviously NOT a "beta". I have also noticed this happens with Wingdings and other fonts like it. Even copy/paste into iPages doesn't work.
    Doing a similar thing in software programs outside of iWork is no problem and it does work, so I know I have the fonts (and they're properly installed, etc).
    What do I do to get Greek Letters in iPages?

    What do I do to get Greek Letters in iPages?
    While switching to the old Symbol font may still work for Greek in some apps, modern Unicode apps and OS's do not input different scripts by changing fonts. They change keyboard layouts instead. So you go to system prefs/international/input menu and check the box for Greek, plus the box for Show Input Menu in Finder, select Greek in the "flag" menu at the top right of the Finder, and type.
    For individual characters it may be easier to use the Character Palette (Edit > Special Characters) as Yvan indicated.

  • Sun Java Console & Applets don't display properly on JRE 1.5.0_05

    Duplicate Post as it was equally relavant to this forum: [http://forum.java.sun.com/thread.jspa?threadID=666689&tstart=0 ]
    Hi,
    We have a signed applet based application hosted on weblogic server. We are trying to launch the application on IE 6.0, JRE 1.5.0_05.
    When we try to see the Sun Java Console from IE's Tools Menu bar, we don't see any text in the window and also the side bars & buttons ("clear", 'copy", "close") are not rendered properly. Now if we, try to bring the focus to text area of Sun Java Console, and try to select all (Ctrl+A), we only see some text selected, but not what it is. Now if we copy the text onto the notepad, we can see the text.
    Next, when we try to launch the signed applet based application, we get the security warning, where only we can see the dialogue box and not the text or buttons. By randomly clicking on this security dialogue, if we hit on yes, the Applet based application is launched. The UI is totally off color; either you see some widgets on application partially or totally blackened or in different colors. Application basically looks to be in chaos.
    This behavior is not observed in any of the previous JRE versions, i.e. JRE 1.5.0_04 or any previous versions. Interesting part is after uninstalling JRE 1.5.0_05, if we install 1.5.0_04; problem persists, but not in JRE 1.4.
    We have observed the same behavior on number of machines. Is it a known issue? What�s the reason & solution?
    Thanks in Advance,
    Vinayak

    When we try to see the Sun Java Console from IE's
    Tools Menu bar, we don't see any text in the window
    and also the side bars & buttons ("clear", 'copy",
    "close") are not rendered properly. I suspect you're running into graphics issues. Perhaps java5 is trying to optimize too much, and you have older or buggy Windows drivers.
    Try:
    * getting the latest graphics drivers for your hardware from your vendor and installing them.
    If that doesn't work, try
    * putting options like "-Dsun.java2d.noddraw" in the Java Control Panel as the default VM options for your Java.
    That's actually a bit aggressive - you can start with, say, "-Dsun.java2d.d3d=false" or "-Dsun.java2d.ddoffscreen=false" (each of these is less drastic than noddraw).
    Then make sure you quit all IEs, and restart one.

  • Vertical images are fine in iPhoto, but don't display properly in aperture.

    Hello everyone, i have an old project around 1000 pictures and all the images show properly in iPhoto. I have a shared library with aperture and when i open that project in aperture , all the vertical images seems to be destroyed as soon as i double click on them. It looks like an half downloaded jpg. None of the Previsualisation or the full screen display are correct. What's wrong ?

    I had already tried it and it doesn't work "the selected element has been modified in iphoto and cannot be updated" (L’élément sélectionné a été modifié en externe dans iPhoto et ne peut être mis à jour.)
    here are screencaps to show you what it looks like.
    So everything is normal in iphoto, then I double click on an image in aperture and this happens, then the thumbnails are destroyed, and then in iphoto it is also destroyed.

  • Buttons created in InDesign don't display properly in Acrobat DC

    I am having issues with how buttons created in InDesign CC (2014) and exported to interactive PDF display in Acrobat DC. These buttons use transparent layers and effects such as drop shadow. The buttons displayed great in Acrobat XI.
    Acrobat XI:
    Acrobat DC:
    The buttons used a transparent white layer to simulate glare. As you can see, it comes out black in DC! The drop shadow has added white coloring knocking the buttons out from the background instead of blending nicely. I can avoid using these styling methods in future projects, but this project has used these buttons for several years, and now several years worth of PDFs won't display correctly for anyone who updates to DC!

    I am also having problems.  Upgraded to Acrobat DC.  I use a Mac (latest software)
    When I export from InDesign CC to Acrobat DC the interactive elements - especially buttons - go cranky.  I get a strange smudgy kind of drop shadow but in a variety of colours behind the arrows, buttons etc.  All very strange.  It gets worse if I apply a drop shadow and bevel and emboss to the button (even a home made button rather than one of the sample buttons).
    I'm currently working away from home and so can't try any other computer.
    Strange.
    Richard

  • Web pages don't display properly and I can't read the text on the web pages

    so annoying i use chrome.
    try to use safari 2-3 times a year and it makes me want to throw my computer across the room.

         Start up in Safe Mode.
         http://support.apple.com/kb/PH11212

  • Disabled combo boxes don't display properly after loading a movie.

    Hi,
    I have a main movie that contains some combo boxes. Some of them may be disabled.
    By pressing a button I load another movie using loadMovie. The loaded movie also contains combo boxes.
    When the button is pressed, the clip that shows the combo boxes is removed from the stage and the loaded movie is displayed. By pressing another button, the loaded movie is unloaded and the clip with the combo boxes is displayed again.
    Well, once the other movie has been loaded, when I go back to the clip with combo boxes, the disabled combo boxes have a small gray button covering the black down arrow.
    I have determined that so long as the loaded movie contains combo box in the library, the problem occurrs, even if there is no actual instance of it.
    The combo boxes that are not disabled are not affected. The combo boxes are disabled by setting "cb_name.enabled=false".
    If the combo box is enabled, it displays correctly, but if disabled again, it goes wrong again.
    My project is targeting Flash 8, so it uses AS2.
    I'm using Flash CS4.
    This is a very simple example I did to make sure I wasn't doing anything funny:
    Initially:
    After pressing the button:
    After pressing the other button:
    The behaviour in a web browser is the same...
    I hope someone can help me with this. Thanks in advance!

    Thanks for the response.
    The "Load the movie" button:
    on(click)
        _parent.gotoAndStop(2);
    The 2nd frame:
    loadMovie("Test another child.swf",Container);
    stop();
    The "Unload and go back" button:
    on(click)
        unloadMovie(_parent.Container);
        _parent.gotoAndStop(1);
    Container is a movieClip with a dark gray square shape the size of the movie clip that is loaded. It doesn't exist on frame 1, only on frame 2.
    The combo boxes are inside a movie clip, and this is only on the stage on frame 1.
    This and the captures belong to a very simple test I did. If there is a way of posting files, I can post a zip file with the two .fla and the two .swf.

Maybe you are looking for

  • Status of Purchase Order Header

    Hello Community, in the purchase order header you find a tab status. This has values like Not Delivered, Partially Delivered and Full Delivered. I wonder how this status is set. Is it determined all the time you enter the transaction or is it stored

  • Publishing to Mac from PC with Flash Builder 4.6

    I have recently switched from Flash Pro to Flash Builder to write actionscript projects. I would like to publish the finished application for both PC and Mac. I don't want to use the air installer as most potential customers won't have air installed.

  • Wish to retrieve data from structure

    hi all. i have structures and fields to dispaly and want to retrieve data from them.please guide me with the tables available with me where i can link them for the primary key combination. RV13A-VAKEY1 and komv-kpein,komv-kmein are the structure-fiel

  • Iphone 4 on/off button failure, what am I gonna do with it

    on/off button does not work suddenly, home key is not working well neither. Shall I ask apple store help me with it?

  • Nikon D750...cannot open RAW or use DNG converter.

    Got the new D750. I have CS6 and LR4. I cannot open the RAW files so I read I could convert them to DNGs. Problem is that I have Windows Vista and apparently the DNG converter wont work with Vista. Any suggestions? Thanks.