Show More
@@ -7,9 +7,11 cd t | |||||
7 | hg unbundle $TESTDIR/legacy-encoding.hg |
|
7 | hg unbundle $TESTDIR/legacy-encoding.hg | |
8 | hg co |
|
8 | hg co | |
9 |
|
9 | |||
10 | printf "latin-1 e' encoded: \xe9" > latin-1 |
|
10 | python << EOF | |
11 | printf "utf-8 e' encoded: \xc3\xa9" > utf-8 |
|
11 | f = file('latin-1', 'w'); f.write("latin-1 e' encoded: \xe9"); f.close() | |
12 | printf "\xe9" > latin-1-tag |
|
12 | f = file('utf-8', 'w'); f.write("utf-8 e' encoded: \xc3\xa9"); f.close() | |
|
13 | f = file('latin-1-tag', 'w'); f.write("\xe9"); f.close() | |||
|
14 | EOF | |||
13 |
|
15 | |||
14 | echo % should fail with encoding error |
|
16 | echo % should fail with encoding error | |
15 | echo "plain old ascii" > a |
|
17 | echo "plain old ascii" > a |
General Comments 0
You need to be logged in to leave comments.
Login now