First, make sure you're working with the same encoding everywhere, i.e. utf-8 (very recommanded).
Second, python unicode != utf-8 This page can help you: http://evanjones.ca/python-utf8.html Cheers, -- Yoan On Fri, Nov 14, 2008 at 8:35 PM, <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm really new to Plyons and I'd like to know how to unesapce German > umlaute in a controller, that have been escaped by JavaScript's escape- > function (I use YUI as explained here: > http://yuiblog.com/blog/2008/10/27/datatable-260-part-two/). > > I've tried a lot of urllib-unqouting and utf-8 decoding, but nothing > helped. I always end up having chars as � or python decoding errors. > > Perhaps someone has got a solution to this problem? > > Andre > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
