Mercurial > hg
view tests/test-encoding.out @ 3835:d1ce5461beed
Allow the user to specify the fallback encoding for the changelog
Example: use EUC-JP instead of ISO-8859-1:
[ui]
fallbackencoding = EUC-JP
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Fri, 08 Dec 2006 22:01:05 -0200 |
parents | 3674ca805a5b |
children | 3820385fb113 |
line wrap: on
line source
adding changesets adding manifests adding file changes added 2 changesets with 2 changes to 1 files (run 'hg update' to get a working copy) 1 files updated, 0 files merged, 0 files removed, 0 files unresolved % should fail with encoding error M a ? latin-1 ? latin-1-tag ? utf-8 abort: decoding near ' encoded: é': 'ascii' codec can't decode byte 0xe9 in position 20: ordinal not in range(128)! transaction abort! rollback completed % these should work % ascii changeset: 5:e4ed49b8a8f0 branch: ? tag: tip user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin1 branch changeset: 4:a02ca5a58e99 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: Added tag ? for changeset d47908dab82f changeset: 3:d47908dab82f tag: ? user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: utf-8 e' encoded: ? changeset: 2:9db1985f3097 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin-1 e' encoded: ? changeset: 1:af6e0db4427c user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: euc-jp: ?????? = u'\u65e5\u672c\u8a9e' changeset: 0:60aad1dd20a9 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin-1 e': ? % latin-1 changeset: 5:e4ed49b8a8f0 branch: é tag: tip user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin1 branch changeset: 4:a02ca5a58e99 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: Added tag é for changeset d47908dab82f changeset: 3:d47908dab82f tag: é user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: utf-8 e' encoded: é changeset: 2:9db1985f3097 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin-1 e' encoded: é changeset: 1:af6e0db4427c user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: euc-jp: ÆüËܸì = u'\u65e5\u672c\u8a9e' changeset: 0:60aad1dd20a9 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin-1 e': é % utf-8 changeset: 5:e4ed49b8a8f0 branch: é tag: tip user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin1 branch changeset: 4:a02ca5a58e99 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: Added tag é for changeset d47908dab82f changeset: 3:d47908dab82f tag: é user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: utf-8 e' encoded: é changeset: 2:9db1985f3097 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin-1 e' encoded: é changeset: 1:af6e0db4427c user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: euc-jp: ÆüËܸì = u'\u65e5\u672c\u8a9e' changeset: 0:60aad1dd20a9 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin-1 e': é % ascii tip 5:e4ed49b8a8f0 ? 3:d47908dab82f % latin-1 tip 5:e4ed49b8a8f0 é 3:d47908dab82f % utf-8 tip 5:e4ed49b8a8f0 é 3:d47908dab82f % ascii ? 5:e4ed49b8a8f0 % latin-1 é 5:e4ed49b8a8f0 % utf-8 é 5:e4ed49b8a8f0 % utf-8 changeset: 5:e4ed49b8a8f0 branch: é tag: tip user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin1 branch changeset: 4:a02ca5a58e99 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: Added tag é for changeset d47908dab82f changeset: 3:d47908dab82f tag: é user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: utf-8 e' encoded: é changeset: 2:9db1985f3097 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin-1 e' encoded: é changeset: 1:af6e0db4427c user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: euc-jp: 日本語 = u'\u65e5\u672c\u8a9e' changeset: 0:60aad1dd20a9 user: test date: Thu Jan 01 00:00:00 1970 +0000 summary: latin-1 e': �