Have you tried?
<%@ page language="java"%>
<%
 Response.setContentType("text/html;charset=UTF-8"); in your jsp page?
%>
Thanks and Regards,
S.Ramkumar

-----Original Message-----
From: Colm Garvey [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 22, 2004 10:06 PM
To: Struts Users Mailing List
Subject: Odd behaviour with utf-8 on weblogic 8.1

I've just discovered a very odd bug/feature , but I'm not entirely sure
what's causing it.
I have a resource bundle for thai which has been encoded as utf-8.

If I specify

<%@ page contentType="text/html; charset="UTF-8" language="java" ...

in my JSP pages I wind up with gobbledigook, but if I simply use:

<%@ page contentType="text/html" language="java"....

ignoring the encoding reference entirely, it works perfectly!

Now I'm not one to look a gift horse in the mouth, but this is the kind of
thing that comes back and bites you in the behind later, so does anyone have
any idea why this is happening?

Colm


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

Reply via email to