-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vernon,

Vernon _ wrote:
> As I mentioned in my post, I already have the JSP page set as
> 
> HTML: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> JSP: <%@ page contentType="text/html;charset=UTF-8" language="java" %>

Mark was suggesting that you set the request encoding, not the response
encoding.

> I use a MVC framework. So, I am not sure anywhere using GET.

Uhh.... right. I'm sure you use GET requests sometimes. Better set it in
the connector. Honestly, the client should be reporting the request
encoding, and you should be honoring it.

> I have this issue for ages. I haven't been able to resolve. I have to
> move long text into a message property file to go around this problem.

Localized text should probably be in a separate file, anyway.

How are you typing those characters into your java source files? If you
are using a source file encoding other than the default encoding on your
system, you might have to tell the JSP compiler what encoding the files
are in. You can't go wrong using \uWXYZ instead of native characters.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF+32M9CaO5/Lv0PARAkMrAJ9/cfgcX2drWxcFLAUUGTwgOc5bygCfYwp8
6NszrV4jEM2cVQqFiyH+b6o=
=iC5l
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to