1
0
mirror of https://github.com/django/django.git synced 2025-07-03 17:29:12 +00:00

unicode: Added a test to ensure that we title-case non-ASCII strings properly.

Refs #4749.


git-svn-id: http://code.djangoproject.com/svn/django/branches/unicode@5591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-07-03 12:35:24 +00:00
parent fc8bdc1af4
commit c62d6eea19

View File

@ -76,6 +76,8 @@ u''
>>> title('a nice title, isn\'t it?')
u"A Nice Title, Isn't It?"
>>> title(u'discoth\xe8que')
u'Discoth\xe8que'
>>> truncatewords(u'A sentence with a few words in it', 1)
u'A ...'