I found it works on Jython 2.5 beta0
On 8 Sty, 12:38, naos <lukasz.korzyb...@gmail.com> wrote: > Hi all, > > I'm recently playing with Django 1.0.2 on Jython 2.5 alpha3 build. > Besides missing os.getcwdu function (which I got over by assigning > os.getcwdu= os.getcwd at app init) I have problem with template > rendering. > > When Jython string includes non-ASCII unicode characters (central > europe specific letters) then it is not rendered by the template, it > is missing in the resulting HTML document. If for eg. I have a = > "żźćłśąłł" and {{ a }} in the template then it won't appear. > > I found that doing a = a.encode('utf-8') helps, so a hot fix for that > would be writing own custom filter that would utf-8 encode string and > doing something like this: {{ a|utf8 }} . But it is not satisfactory > enough for me, does anyone have better idea? --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---