thanks for the message Ram,

I did try that and it had no noticable effect.


From: "Kumar, Ram S" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: RE: i18n with Japanese characters and tags....
Date: Tue, 23 Mar 2004 00:47:08 -0600

Hi,
Try
 <%
        response.setContentType("text/html;charset=JISAutoDetect");
                or
        response.setContentType("text/html;charset=UTF-8");
%>
 in your jsp pages.

Ram Kumar

-----Original Message-----
From: carlo latasa [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 11:33 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: i18n with Japanese characters and tags....

Hello,

I'm trying to show Japanese characters on my jsp pages however the "&"
character of the charset is coming back as &amp; which is preventing the
characters from being displayed correctly. They look like:
ƒLƒJƒXƒn

Note, the bean:write tag renders the characters correctly when the filter
attribute is set to "false".

I've got a struts application using both Tomcat and Jrun and I've set my
controller element of the struts-config.xml as:

<controller contentType="text/html; charset=JISAutoDetect"/>

and at the top of a tiles.jsp that's at the head of every page I've got a:

<%@ page contentType="html/text; charset=JISAutoDetect" %>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=JISAutoDetect"


%>

..... to set the encoding.

My hunch is that this is something that Struts is doing to the in the
RequestProcessor or Controller.
Could/should I write a Filter to override this issue?

Is this something I chould set in a .css called in the tiles.jsp?

Any help is much appreciated.


Carlo Latasa -


_________________________________________________________________
Find a broadband plan that fits. Great local deals on high-speed Internet
access. http://click.atdmt.com/AVE/go/onm00200360ave/direct/01/


--------------------------------------------------------------------- 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]




Carlo Latasa - Home: (510) 231-9655 Cell: (415) 385-1567


_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE download! http://clk.atdmt.com/AVE/go/onm00200413ave/direct/01/



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



Reply via email to