Hi,

from django.utils.translation import ugettext as _

My guess is that if you import ugettext, then you should supply a
Unicode string as an argument:

def index(request):
    teststring = _(u"Lösung")
    [...]

(notice the 'u' before the string).

That works here, at least using an utf-8 source file (# -*- coding:
utf-8 -*- at the start).

Bye,

--
Emanuele


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to