Hi Tomas,

I'm not sure if II'm able to help you since I don't use websphere but
successfully managed to get Polish strings from my servlets ... Maybe you
already did what I's suggesting here...
- yur browser ans syetm must suppport iso-8859-2 ( fonts + encoding )
- you need to set the content type in your servlet to include code page
like: HttpServletResponse.setContentType( "text/html;
charset=\"iso-8859-2\"" );
- depending on the JVM you're using you may need to set the default code
page to iso-8859-2, or explicitly identify the encoding scheme when creating
a new strings with String( byte[] byteArray, String encoding ). ( e.g. in
your println( "string" ) ).

I don't think websphere filters out your characters. It happens somewhere in
Java ( JVM or JSDK ).

Jacek

> -----Original Message-----
> From: Tomas Zeman [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, November 01, 1999 10:51
> To:   [EMAIL PROTECTED]
> Subject:      IBM WebSphere and iso-8859-2 characters in servlets
>
> Hi all,
> I am using Websphere for servlets and want to display
> iso-8859-2 (Czech) characters.
> I put the characters inside println and compiled it.
> When I run the servlet in browser , websphere
> destroies iso2  characters :-(
> I used mod_jserv in previous time, and it was ok.
>
> Don't anybody know, how to configure websphere version
> 2 or 3 to support iso2 characters in servlets?
>
> Thanks a lot
>         Tomas Zeman
>
> e-mail : [EMAIL PROTECTED]
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to