RE: Character encoding issue

2003-12-17 Thread Seyed Razavi
Well to answer my own question: The source of the problem was found. A compression filter (gzipping the response) seems to have been the culprit. -Original Message- From: Seyed Razavi [mailto:[EMAIL PROTECTED] Sent: 17 December 2003 17:37 To: [EMAIL PROTECTED] Subject: Character

RE: Character Encoding

2003-10-01 Thread Remke Rutgers
Hi Stephan, The instruction you use to force UTF-8 looks fine to me, so I don't know why it does not work. This is the way we do it in several web applications too. They are non-public sites, so I am sorry I can not simply let you try them out. Manual transformation should not be necessary.

Re: Character Encoding

2003-10-01 Thread Stephan Wiesner
Hi Remke, thanks for the link to the tool, quite useful. The header is correct in my case, though. Here is a simple source example: String original = new String(A'lü[\u05E9]); String out1 = new String(original.getBytes(), UTF8); out.println(Original: + original + br /UTF-8: );

RE: Character Encoding

2003-10-01 Thread Brian McSweeney
Sounds suspiciously like your database isn't configured for UTF-8 -Original Message- From: Stephan Wiesner [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 09:13 To: Struts Users Mailing List Subject: Re: Character Encoding Hi Remke, thanks for the link to the tool, quite useful

Re: Character Encoding

2003-10-01 Thread Adam Hardy
Hi Stephan, I think the attachment got stripped off by the list server. On 10/01/2003 11:12 AM Stephan Wiesner wrote: Hi Remke, thanks for the link to the tool, quite useful. The header is correct in my case, though. Here is a simple source example: String original = new String(A'lü[\u05E9]);

Re: Character Encoding

2003-10-01 Thread Stephan Wiesner
Hmh, so it seems. Can't present the result in plain text, but the results are wrong and the usage of new String(original.getBytes(), UTF8); leads to a different result. Adam Hardy wrote: Hi Stephan, I think the attachment got stripped off by the list server. On 10/01/2003 11:12 AM Stephan

Re: Character Encoding

2003-10-01 Thread Adam Hardy
On a page encoded with UTF-8, I am showing the proper ü and presumably the correct character after it on the 'original' line, but in the second line, I just get ? for both. On 10/01/2003 01:22 PM Stephan Wiesner wrote: Hmh, so it seems. Can't present the result in plain text, but the results

Re: Character Encoding

2003-10-01 Thread Adam Hardy
PS The second character looks like a U, but the left hand upright is forked. On 10/01/2003 01:22 PM Stephan Wiesner wrote: Hmh, so it seems. Can't present the result in plain text, but the results are wrong and the usage of new String(original.getBytes(), UTF8); leads to a different result.

Re: Character encoding problem

2002-12-29 Thread Dan Tran
I have seen the i18N problems several time last few days. Here is the link and hope it helps http://www.anassina.com/struts/i18n/i18n.html You may need to get another database that support Unicode which MySQL is not. -Dan - Original Message - From: struts struts [EMAIL PROTECTED] To:

RE: Character Encoding wrong just for ApplicationResources!

2002-02-14 Thread Chris Birch
PROTECTED]] Sent: 14 February 2002 08:40 To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: Character Encoding wrong just for ApplicationResources! Thanks for your response. But I have already saved the ApplicationResource file in Unicode but the same results!! I have tried saving

Re: Character Encoding wrong just for ApplicationResources!

2002-02-13 Thread Louis Leung
your properties file have to be written in Unicode encoding, not the native encoding, or else java will screw your characters up, since java can only deal with unicode Hertzel Karbasi - OPTinity eBusiness Solutions wrote: Hello All I have added the following to JSP files META

Re: Character Encoding wrong just for ApplicationResources!

2002-02-13 Thread Louis Leung
or you can covert your properties file strings from native to unicode using this method return new String(oldString.getBytes(), encoding); where encoding is the native encoding u used in your properties file more 'bout charset encoding/decoding on this page :

RE: CHARACTER ENCODING !

2002-01-24 Thread Wasniewski Arkadiusz
Polish chars in index.jsp are in iso-8859-2 not UTF-8! Arek -Original Message- From: wojtek [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 10:19 PM To: Struts Users Mailing List Subject: Re: CHARACTER ENCODING ! Here it goes, thanks for help. Wojtek

Re: CHARACTER ENCODING !

2002-01-24 Thread Martin Fekete
] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 23, 2002 10:05 PM Subject: Re: CHARACTER ENCODING ! Ok Peter great, but I am using tomcat which gives this errror message when setting encoding to utf-8 A Servlet Exception Has Occurred

Re: CHARACTER ENCODING !

2002-01-24 Thread Martin Fekete
of them is setCharacterEncoding filter, which is what you need. Feky - Original Message - From: timothy [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 4:02 AM Subject: Re: CHARACTER ENCODING ! Hi Dennis Lee, after you use

Re: CHARACTER ENCODING !

2002-01-23 Thread wojtek
List [EMAIL PROTECTED] Sent: Wednesday, January 23, 2002 10:51 AM Subject: Re: CHARACTER ENCODING ! in JSP you should use page directive %@ page contentType=text/html; charset=your encoding here % and property files must be converted to acii (f.e. using %JAVA_HOME%/bin/native2ascii.exe) Feky

RE: CHARACTER ENCODING !

2002-01-23 Thread Peter . Zybrick
Mailing List [EMAIL PROTECTED] Sent: Wednesday, January 23, 2002 10:51 AM Subject: Re: CHARACTER ENCODING ! in JSP you should use page directive %@ page contentType=text/html; charset=your encoding here % and property files must be converted to acii (f.e. using %JAVA_HOME%/bin/native2ascii.exe

Re: CHARACTER ENCODING !

2002-01-23 Thread wojtek
) at org.apache.jasper.compiler.JspReader.(Unknown Source) at org.apache.jasper.compiler.Parser.(Unknown Source) - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 23, 2002 9:55 PM Subject: RE: CHARACTER ENCODING ! i've tested this with german/french

RE: CHARACTER ENCODING !

2002-01-23 Thread Peter . Zybrick
To: Struts Users Mailing List Subject: Re: CHARACTER ENCODING ! Ok Peter great, but I am using tomcat which gives this errror message when setting encoding to utf-8 A Servlet Exception Has Occurred org.apache.jasper.compiler.ParseException: Cannot read file: ze file

Re: CHARACTER ENCODING !

2002-01-23 Thread wojtek
Here it goes, thanks for help. Wojtek head.jsp Description: Binary data index.jsp Description: Binary data -- Myslisz o otworzeniu wlasnego sklepu internetowego? A moze o wynajeciu stoiska w wirtualnym pasazu? W Centrum e-biznesu mozesz miec jedno i drugie. Juz od 290 zl za rok.

RE: CHARACTER ENCODING !

2002-01-23 Thread Lee, Dennis
Regards, Dennis Lee -Original Message- From: Christopher Cheng [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 10:11 AM To: Struts Users Mailing List Cc: wojtek Subject: RE: CHARACTER ENCODING ! Same here. I am building a site using English, Traditional and Simplified Chinese

Re: CHARACTER ENCODING !

2002-01-23 Thread timothy
- Original Message - From: Lee, Dennis [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 10:48 AM Subject: RE: CHARACTER ENCODING ! Hi, I have exactly the same problem. I try to convert the chinese in the properties file

Re: CHARACTER ENCODING !

2002-01-22 Thread Rob Breeds
Wojtek Are you setting locale with: html:html locale=true ? Rob Breeds wojtek