]>
Commit | Line | Data |
---|---|---|
4710c53d | 1 | This is a sample doctest in a text file that contains non-ASCII characters.\r |
2 | This file is encoded using UTF-8.\r | |
3 | \r | |
4 | In order to get this test to pass, we have to manually specify the\r | |
5 | encoding.\r | |
6 | \r | |
7 | >>> u'föö'\r | |
8 | u'f\xf6\xf6'\r | |
9 | \r | |
10 | >>> u'bąr'\r | |
11 | u'b\u0105r'\r | |
12 | \r | |
13 | >>> 'föö'\r | |
14 | 'f\xc3\xb6\xc3\xb6'\r | |
15 | \r | |
16 | >>> 'bąr'\r | |
17 | 'b\xc4\x85r'\r |