Ticket #10656: unicode.diff

File unicode.diff, 473 bytes (added by kgrandis, 16 years ago)
  • docs/ref/unicode.txt

     
    273273querysets are identical::
    274274
    275275    qs = People.objects.filter(name__contains=u'Å')
    276     qs = People.objects.filter(name__contains='\xc3\85') # UTF-8 encoding of Å
     276    qs = People.objects.filter(name__contains='\xc3\x85') # UTF-8 encoding of Å
    277277
    278278Templates
    279279=========
Back to Top