1. Simple JSP that contains static text in the encoding you want to use.
2. A form JSP that echos back whatever text you enter - check it works with text in your preferred encoding.
3. Extend the simple JSP extract text from the database and display it alongside the static text. (If the static text is OK but the database text isn't you have a problem with your database text)
Максим Квитка wrote:
No effect. 8( I think truth is out there. :) Thanks for help.
----- Original Message ----- From: "Igor" <[EMAIL PROTECTED]> To: <tomcat-user@jakarta.apache.org> Sent: Monday, December 27, 2004 11:42 AM Subject: Re: windows-1251 (Russian encoding)
Hello!
Please try to run tomcat with -Dfile.encoding="ISO-8859-1" java option. It might help
I am from Ukraine too :-)
Igor
----- Original Message ----- From: "Максим Квитка" <[EMAIL PROTECTED]> To: <tomcat-user@jakarta.apache.org> Sent: Friday, December 24, 2004 12:57 PM Subject: windows-1251 (Russian encoding)
Good day. Sorry for my English, I'll try to explain.
I'm using Tomcat to construct site (using JSP) that extract data using SQL from DB Server. But I have trouble. Some information from DB written using character encoding windows-1251. After SQL request I retrieve information like "??? «?????" instead of normal russian word. If you ever used Sybase Jaguar Server you saw that there you can correct charsets parameters for your language but in Tomcat I don't know how I can do it. How I can configure retrieve info from DB in correct charset in Tomcat?
Thanks a lot. ps: sorry for my English. By the way, I'm from Ukrain. 8)
Kvitka Maxim
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]