On Dec 6, 2006, at 12:52 PM, Bruno Silva wrote: > I'm in the great struggle of unicode/utf-8/latin1. > I wonder if it's possible to in every request change request.params, > and convert all the strings to unicode. > I already tried to do that in BaseController without success, I wonder > if request.params is readonly. > Anyone knows how to do that?
This is on the list of tickets for us to add into Pylons itself: http://pylonshq.com/project/pylonshq/ticket/135 That ticket contains some code that will do the decoding you desire, by dropping in the code and saying inside your base controllers __call__ method: decode_request(request) HTH, Ben --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
