svn version django on OS X 10.4 Tiger (Chinese) When I use date filter the django app crashed(OK on windows and linux)
Original Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/template/debug.py", line 71, in render_node result = node.render(context) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/template/debug.py", line 87, in render output = force_unicode(self.filter_expression.resolve(context)) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/template/__init__.py", line 542, in resolve new_obj = func(obj, *arg_vals) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/template/defaultfilters.py", line 627, in date return format(value, arg) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/utils/dateformat.py", line 263, in format df = DateFormat(value) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/utils/dateformat.py", line 114, in __init__ self.timezone = LocalTimezone(dt) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/utils/tzinfo.py", line 39, in __init__ self._tzname = self.tzname(dt) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/utils/tzinfo.py", line 58, in tzname return smart_unicode(time.tzname[self._isdst(dt)], DEFAULT_ENCODING) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/utils/encoding.py", line 37, in smart_unicode return force_unicode(s, encoding, strings_only, errors) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/utils/encoding.py", line 58, in force_unicode s = s.decode(encoding, errors) LookupError: unknown encoding: X-MAC-SIMP-CHINESE This should happen on Japanese OS X machine. I think I can write a patch. But how to contribute back to django? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---