comparison tests/test-encoding.out @ 3843:abaa2cd00d2b

make transcoding more robust default to ASCII abort if unknown encoding wrap abort strings with _ add test
author Matt Mackall <mpm@selenic.com>
date Sat, 09 Dec 2006 12:46:01 -0600
parents 3820385fb113
children 46abbed02b2d
comparison
equal deleted inserted replaced
3842:47c634bf1e92 3843:abaa2cd00d2b
8 M a 8 M a
9 ? latin-1 9 ? latin-1
10 ? latin-1-tag 10 ? latin-1-tag
11 ? utf-8 11 ? utf-8
12 abort: decoding near ' encoded: é': 'ascii' codec can't decode byte 0xe9 in position 20: ordinal not in range(128)! 12 abort: decoding near ' encoded: é': 'ascii' codec can't decode byte 0xe9 in position 20: ordinal not in range(128)!
13
14 transaction abort! 13 transaction abort!
15 rollback completed 14 rollback completed
16 % these should work 15 % these should work
17 % ascii 16 % ascii
18 changeset: 5:db5520b4645f 17 changeset: 5:db5520b4645f
163 changeset: 0:1e78a93102a3 162 changeset: 0:1e78a93102a3
164 user: test 163 user: test
165 date: Mon Jan 12 13:46:40 1970 +0000 164 date: Mon Jan 12 13:46:40 1970 +0000
166 summary: latin-1 e': И = u'\xe9' 165 summary: latin-1 e': И = u'\xe9'
167 166
167 abort: unknown encoding: dolphin, please check your locale settings