On Tue, 2007-06-12 at 21:16 +0000, Noam wrote: > Hello, > > First of all, I apologize if I post this in the wrong forum. It just > seems to me like something which requires design decisions, and not a > simple bug. If I am wrong, please correct me. > > I'm making a site which will be in Hebrew. I have a model with lines > like these: > > telephone = CharField(maxlength=30) > > I changed my settings so that the admin interface is in Hebrew, and it > looks very nice, but of course "Telephone" is displayed in English. So > I made the obvious change: > > telephone = CharField(u'טלפון', maxlength=30) > > However, it causes the admin app to fail with a nasty > UnicodeDecodeError.
There have been a lot of posts about unicode and Django on the users list lately. The short version is this: unicode on trunk is pretty much unsupported in general and if it works for any particular case, you are most fortunate. The Unicode branch fixes these problems. Probably best to check out the Unicode branch (see the wiki or search on Google) and then post questions to django-users. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
