Changes between Version 5 and Version 6 of UnicodeInDjango
- Timestamp:
- Jan 13, 2006, 3:01:44 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UnicodeInDjango
v5 v6 5 5 Just a pin-down of things that spring to mind, all of them need more complete checking: 6 6 7 * database backends need to handle unicode vs. DATABASE_ ENCODINGtranslations7 * database backends need to handle unicode vs. DATABASE_CHARSET translations 8 8 * special casing: the psycopg backend will need type handlers for string types (just as it already has type handlers for date/time types) 9 * the HTTPResponse sending machinery needs to do the unicode to DEFAULT_ ENCODINGtranslation10 * the HTTPRequest creation process needs to turn outside strings into unicode strings, using the provided charset (if given) or defaulting to DEFAULT_ ENCODING(as that is what was sent to the browser when the form was transmitted)9 * the HTTPResponse sending machinery needs to do the unicode to DEFAULT_CHARSET translation 10 * the HTTPRequest creation process needs to turn outside strings into unicode strings, using the provided charset (if given) or defaulting to DEFAULT_CHARSET (as that is what was sent to the browser when the form was transmitted) 11 11 * special casing: what happens with GET parameters? those don't provide charsets, what should we do if DEFAULT_ENCODING is utf-8, but the GET parameters aren't valid utf-8? The clean way would be to throw an exception (like with all other places, too) 12 12 * internal usage of str() needs to be checked and supposedly changed over to unicode() usage