Thomas Wouters | 4d70c3d | 2006-06-08 14:42:34 +0000 | [diff] [blame] | 1 | This is a sample doctest in a text file that contains non-ASCII characters. |
| 2 | This file is encoded using UTF-8. |
| 3 | |
| 4 | In order to get this test to pass, we have to manually specify the |
| 5 | encoding. |
| 6 | |
Thomas Wouters | 4d70c3d | 2006-06-08 14:42:34 +0000 | [diff] [blame] | 7 | >>> 'föö' |
Martin v. Löwis | b1a9f27 | 2007-07-20 07:13:39 +0000 | [diff] [blame] | 8 | 'f\xf6\xf6' |
Thomas Wouters | 4d70c3d | 2006-06-08 14:42:34 +0000 | [diff] [blame] | 9 | |
| 10 | >>> 'bąr' |
Martin v. Löwis | b1a9f27 | 2007-07-20 07:13:39 +0000 | [diff] [blame] | 11 | 'b\u0105r' |