On Apr 10, 2:48 pm, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> hi,
>
> would it be a good idea to add support to django to unicode-normalize
> incoming get/post-data?

class NormCharField(forms.CharField):
    def clean(self, value):
        value = super(NormCharField, self).clean(value)
        return unicodedata.normalize('NFC',text)

Or am I missing something...

Simon



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to