On Thu, 2011-08-11 at 09:02 -0700, Jason wrote:
> I have a form that I put a unicode character in one of the fields. I'm
> not sure what I am doing wrong:
> 
> I put the character
> "é" (http://www.fileformat.info/info/unicode/char/e9/index.htm) into
> the form field and save it.
> 
> 
> The value in request.params shows u'Test Unicod\xc3\xa9' -- I think
> this should be u'Test Unicod\xe9' if it was properly decoded to
> utf-8. 
> 
> 
> Is there somewhere I need to specify Pyramid to decode the posted
> values as UTF-8?

https://docs.pylonsproject.org/projects/pyramid/1.1/narr/views.html#handling-form-submissions-in-view-callables-unicode-and-character-set-issues

> 
> 
> Thanks,
> 
> 
> Jason
> -- 
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/xKJaDiSidioJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to pylons-discuss
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to