hi,

i've been reading http://code.djangoproject.com/wiki/StringEncoding,

and the idea seems to be, that for "Passing Strings Between Django and 
the Developer's Code",

django will/should accept both utf-8 encoded byte-strings, and 
unicode-strings.

wouldn't it be simpler to only accept unicode-strings?

or in other words: in which situations is it better, to also accept 
utf-8 bytestrings?

for me it seems much more clean/strict/explicit/pythonic to assume that 
all such strings are unicode.

but maybe (probably :) i'm missing an obvious use-case here...

thanks,
gabor

--~--~---------~--~----~------------~-------~--~----~
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