Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

how to read request parameter in windows-1257 encoding

ros

2007-02-24

Replies:


Hi!

I have to read form post in windows-1257 encoding:

<HTML>
<HEAD>
   <meta http-equiv="Content-Type" content="text/html;
charset=windows-1257">
</HEAD>
<form name="testForm" action="http://localhost:8080/myStruts2Action.html"
method="post">
<input type="hidden" name="AAA" value="PA&amp;#315;IV">
<input type='submit' value="submit">
</form>
</BODY>
</HTML>

the request field AAA should be PA&#315;IV but it is PA?V

How I can read special characters like Ļ Ā Ī and others?

I use Jetty web server and struts2.

Thanks!

--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.