Adrian Holovaty a écrit : > On 12/18/06, Gael Chardon <[EMAIL PROTECTED]> wrote: > > There is an unicode problem with DateFormat and the 3 letters month > > format, especially for the french translation and its august month. > > Since Hugo has committed a dedicated list for this case, it would be > > very helpful to commit its use in dateformat.py : > > Hi Gael, > > I've made this change in [4226]. Note that my solution was slightly > different than yours, as I called title() on the result to maintain > backwards compatibility. > > Adrian > arg .. I have three servers with the same django application : - one for the dev. using the "runserver" mode - one for the production under apache2/mod python (ubuntu tls) - one for demonstration under apache2/mod python (debian testing/stable mix) And I have a problem only with the last one, the produced string is passed to the unicode function like that: u_str = unicode(df.format("M"),'utf8') And it fails with the classic "UnicodeDecodeError: 'utf8' codec can't decode bytes in position 5-6: unexpected end of data"
I will investigate .. hope it's not a python/mod/apache weird thing .. Regards. Gaël. -- Gaël Chardon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers?hl=en -~----------~----~----~----~------~----~------~--~---