On Sat, Feb 20, 2010 at 11:51 PM, Marius <[email protected]> wrote:

> I think you need to URL encode it.
>

S.redirectTo("/foo?bar="+Helpers.urlEncode(str))


>
> On 21 feb., 04:33, wm <[email protected]> wrote:
> > I need put some UTF string into the URL to be redirected, e.g.:
> >
> > str = 'some-UTF-str'
> > S.redirectTo("/foo?bar="+str)
> >
> > But after the redirection, in the browser address bar it becomes:
> http://localhost:8080//foo?bar=???????
> >
> > '???????' is the messed up UTF string.
> >
> > How can I fix this? thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to