Show More
@@ -15,9 +15,9 b' we need a repo with some legacy latin-1 ' | |||||
15 | $ hg co |
|
15 | $ hg co | |
16 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
16 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
17 | $ $PYTHON << EOF |
|
17 | $ $PYTHON << EOF | |
18 |
> f = |
|
18 | > f = open('latin-1', 'wb'); f.write(b"latin-1 e' encoded: \xe9"); f.close() | |
19 |
> f = |
|
19 | > f = open('utf-8', 'wb'); f.write(b"utf-8 e' encoded: \xc3\xa9"); f.close() | |
20 |
> f = |
|
20 | > f = open('latin-1-tag', 'wb'); f.write(b"\xe9"); f.close() | |
21 | > EOF |
|
21 | > EOF | |
22 |
|
22 | |||
23 | should fail with encoding error |
|
23 | should fail with encoding error |
General Comments 0
You need to be logged in to leave comments.
Login now