Encoding
Danek Duvall
danek.duvall at sun.com
Tue Dec 5 00:21:11 UTC 2006
It looks like test-encoding fails on Solaris because the ascii encoding of
0xe9 actually succeeds in some fashion. I'm attaching the output.
I'm not sure whether this is a problem with the way Python is built on
Solaris, or something deeper, or a problem in Mercurial. Any ideas?
Thanks,
Danek
-------------- next part --------------
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 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
% these should work
% ascii
changeset: 4:2d0b9fa4beb4
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: Added tag \xe9 for changeset 81914fc21860
changeset: 3:81914fc21860
tag: \xe9
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: utf-8 e' encoded: \xc3\xa9
changeset: 2:2762b91136d0
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: latin-1 e' encoded: \xe9
changeset: 1:0dafa21454cc
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: latin-1 e' encoded: \xe9
changeset: 0:60aad1dd20a9
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: latin-1 e': ?
% latin-1
changeset: 4:2d0b9fa4beb4
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: Added tag \xe9 for changeset 81914fc21860
changeset: 3:81914fc21860
tag: \xe9
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: utf-8 e' encoded: \xc3\xa9
changeset: 2:2762b91136d0
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: latin-1 e' encoded: \xe9
changeset: 1:0dafa21454cc
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: latin-1 e' encoded: \xe9
changeset: 0:60aad1dd20a9
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: latin-1 e': ?
% utf-8
changeset: 4:2d0b9fa4beb4
tag: tip
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: Added tag \xe9 for changeset 81914fc21860
changeset: 3:81914fc21860
tag: \xe9
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: utf-8 e' encoded: \xc3\xa9
changeset: 2:2762b91136d0
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: latin-1 e' encoded: \xe9
changeset: 1:0dafa21454cc
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: latin-1 e' encoded: \xe9
changeset: 0:60aad1dd20a9
user: test
date: Thu Jan 01 00:00:00 1970 +0000
summary: latin-1 e': ??
% ascii
tip 4:2d0b9fa4beb4
\xe9 3:81914fc21860
% latin-1
tip 4:2d0b9fa4beb4
\xe9 3:81914fc21860
% utf-8
tip 4:2d0b9fa4beb4
\xe9 3:81914fc21860
More information about the Mercurial-devel
mailing list