Hi Dima,
it depends on what JSP spec your app server is using, e.g. if tomcat 5.0.x, then it's JSP 2 and that means you can set the encoding in your web.xml for particular locales with the locale-encoding-mapping-list.


Adam

On 02/01/2004 08:21 PM Dima Gutzeit wrote:
I do not set the charset specifically. As I understand the charset should be
set by the FMT library according to the locale but it does not happen.
Whatever I do , the charset of the output pages is UTF8.

----- Original Message ----- From: "Vernon Smith" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Sunday, February 01, 2004 9:09 PM
Subject: Re: Output encoding of JSP pages




Although it is very hard to understand your description, I guess your

problem is that non English text doesn't display in a JSP file correctly. What is the character set setting in the JSP?

--

--------- Original Message ---------

DATE: Sun, 1 Feb 2004 11:17:03
From: "Dima Gutzeit" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Cc:


Dear list members,

I am using JSTL taglirary (FTM) to localize my jsp pages. When the

context of the pages is not and english charset , for example russian, then the page does not comes in correct encoding , and I have to change it manually in the browser. The output of JSP pages is always UTF-8 and does not matter what locale I set in fmt:setLocale .

This happens when the bundle files are created in local encoding.


When I use native2ascii to create files from UTF8 format then I see only

"?????" in the output files , but the most instresting part is that the first page of my application comes just fine and in correct language.


Can someone help with that ?



Regards , Dima Gutzeit. --------------------------------- MailVision LTD. R&D Team. Phone: 972-4-8500505 ext. 14 Fax: 972 - 4 - 8508000 http://www.mailvision.com






____________________________________________________________ Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail! http://login.mail.lycos.com/r/referral?aid=27005

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to