Re: Character Encoding problems

2001-12-07 Thread Nikola Milutinovic
Ivo Panacek wrote: >> Hmmm, since I'm in a JSP page and not Servlet, this should be done >> automagically. When I run Jasper on the "test.jsp" file, this is what I > > > Aha. I use JSP only too and it works for me. > My configuration is: > > RedHat 7.1 + Apache + jdk 1.3 (blackdown) + Tomcat

Re: Character Encoding problems

2001-12-07 Thread Ivo Panacek
Nikola Milutinovic wrote: > Ivo Panacek wrote: > >>> response.setContentType("text/html; charset=ISO-8859-2"); >>> >>> So, no trouble there. How do I get a (Unicode) string to convert to a >>> ISO-8859-2 encoded byte stream? Because, eventually, that is what the >>> browser should get. I canno

Re: Character Encoding problems 2

2001-12-06 Thread Gregor Kovac(
Hi! Nikola Milutinovic wrote: I have had similar problem with Cp1250 encoding(Tomcat and MySQL). You have to have in mind this was not done on Tomcat 4.x, but 3.x. This is what I have done: - <%@page contentType="text/html; charset=windows-1250"%> on top of every JSP file >

Re: Character Encoding problems 2

2001-12-05 Thread Nikola Milutinovic
> >>I have had similar problem with Cp1250 encoding(Tomcat and MySQL). You > >>have to have in mind this was not done on Tomcat 4.x, but 3.x. > >>This is what I have done: > >>- <%@page contentType="text/html; charset=windows-1250"%> on top of > >>every JSP file > >> > > > > I don't thin

Re: Character Encoding problems 2

2001-12-05 Thread Gregor Kovac(
Hi! Nikola Milutinovic wrote: >>I have had similar problem with Cp1250 encoding(Tomcat and MySQL). You >>have to have in mind this was not done on Tomcat 4.x, but 3.x. >>This is what I have done: >>- <%@page contentType="text/html; charset=windows-1250"%> on top of >>every JSP file >> > > I d

Re: Character Encoding problems

2001-12-05 Thread dimiter
I was in the same situation. But look the attached file and you'll have a way to set any kind of character set. Dimiter NS.zip Description: application/compressed -- To unsubscribe: For additional commands: Troubles with the list:

Re: Character Encoding problems 2

2001-12-05 Thread Martin Fekete
://marc.theaimsgroup.com/?l=tomcat-user&m=100679292919360&w=2 feky - Original Message - From: "Nikola Milutinovic" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, December 05, 2001 2:19 PM Subject: Re: Character Enco

Re: Character Encoding problems 2

2001-12-05 Thread Nikola Milutinovic
> I have had similar problem with Cp1250 encoding(Tomcat and MySQL). You > have to have in mind this was not done on Tomcat 4.x, but 3.x. > This is what I have done: > - <%@page contentType="text/html; charset=windows-1250"%> on top of > every JSP file I don't think that is a correct char

Re: Character Encoding problems 2

2001-12-05 Thread Gregor Kovac(
Hi! I have had similar problem with Cp1250 encoding(Tomcat and MySQL). You have to have in mind this was not done on Tomcat 4.x, but 3.x. This is what I have done: - <%@page contentType="text/html; charset=windows-1250"%> on top of every JSP file - default_character_set=latin2 in my.cnf - creat

Re: Character Encoding problems

2001-12-04 Thread Nikola Milutinovic
Marcin Jaskula wrote: >>So, no trouble there. How do I get a (Unicode) string to convert >>to a ISO-8859-2 encoded byte stream? Because, eventually, that is >>what the browser should get. I cannot use the method from above, >>since JspWriter doesn't accept byte[] as an argument. > I managed it

Re: Character Encoding problems

2001-12-04 Thread Nikola Milutinovic
Marcin Jaskula wrote: > > I used to have similar problem. > I'm using Tomcat 4.0 with PostgreSQL, DB encoding LATIN-2. > I couldn't get proper characters from the page source, an input form (post > method) and from the DB. > I managed it by: > 1. The page with the input form MUST have encoding=i

Re: Character Encoding problems

2001-12-04 Thread Nikola Milutinovic
Ivo Panacek wrote: >> response.setContentType("text/html; charset=ISO-8859-2"); >> >> So, no trouble there. How do I get a (Unicode) string to convert to a >> ISO-8859-2 encoded byte stream? Because, eventually, that is what the >> browser should get. I cannot use the method from above, since

Re: Character Encoding problems

2001-12-04 Thread Ivo Panacek
> response.setContentType("text/html; charset=ISO-8859-2"); > > So, no trouble there. How do I get a (Unicode) string to convert to a ISO-8859-2 >encoded byte stream? Because, eventually, that is what the browser should get. I >cannot use the method from above, since JspWriter doesn't accept by

RE: Character Encoding problems

2001-12-04 Thread Marcin Jaskula
> I'm developing a web application that uses textual data for > Central&Eastern Europe. The text is in a database which is > internally UNICODE. I also have another DB instance which is > ISO-8859-2 encoded, so all options are in the play. > > I thought I should set contentType="text/html; > chars