Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit c62d6eea19a1e3737ceb2af7f2f75fe727c51906 1 parent fc8bdc1
@malcolmt malcolmt authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  tests/regressiontests/defaultfilters/tests.py
View
2  tests/regressiontests/defaultfilters/tests.py
@@ -76,6 +76,8 @@
>>> 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 ...'

0 comments on commit c62d6ee

Please sign in to comment.
Something went wrong with that request. Please try again.