Hi Samuel,

Take a look at this blog
http://weblogs.java.net/blog/joconner/archive/2005/07/index.html

If you use Tomcat, you can specify URIEncoding="UTF-8" in Tomcat's
connector settings within the server.xml, to get Tomcat to read the
URL GET parameters correctly.

Hope this help solve you problem.

/rasmus

On 29/01/07, Tim Fennell <[EMAIL PROTECTED]> wrote:
> Hi Samuel,
>
> Thanks for getting in touch, and sorry for the slow reply.  I've cc'd the
> Stripes Dev list on this because I know there are people on that list with
> more experience with UTF and other charsets.
>
> My first question is, did you setup Stripes to use UTF-8 as it's default
> character encoding?  Even then I'm not sure this would work, but that's my
> lack of familiarity with the not-the-first-128 characters of UTF-8 ;)  You'd
> set Stripes us this way be specifying it along with a Locale in the web.xml,
> e.g.
>
> <init-param>
>     <param-name>LocalePicker.Locales</param-name>
>     <param-value>en_US:UTF-8</param-value>
> </init-param>
>
> Apologies if I'm telling you something you already know!
>
> -t
>
>
> On Jan 20, 2007, at 8:55 PM, Samuel Santos wrote:
> Sorry to send this directly to you by e-mail, but I just don't know where's
> the right place to put it.
>
> I'd a problem when retrieving data from a form with the "GET" method and
> using UTF-8 encoding since Stripes didn't escape the query string parameters
> properly.
>
> I've attached a java class with the solution I've found. I don't know if
> Stripes does it already some other way, but I've found no other solution.
> I'll be pleased if that can help getting Stripes even better.
>
> Thank you for the best all around java web framework.
>
> Regards,
> Samuel Santos
> <URLUnescapeActionBeanPropertyBinder.java>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Stripes-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-development
>
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to