Commit Graph

11 Commits

Author SHA1 Message Date
Alexis S. L. Carvalho
63ae667098 Use UTF-8 in .hg/branch 2006-12-10 20:35:28 -02:00
Matt Mackall
a9176a1e50 Make test-encoding return 0 2006-12-10 00:06:31 -06:00
Matt Mackall
03f3b2efc4 make transcoding more robust
default to ASCII
abort if unknown encoding
wrap abort strings with _
add test
2006-12-09 12:46:01 -06:00
Thomas Arendsen Hein
092e05b0b9 Fixes test-encoding for python2.3 and minor cleanups:
- Use koi8-r instead of euc-jp, as the later isn't available in python2.3.
- Add unicode representation for latin1 e', too.
- Use date "1000000 0" like in other tests (though not strictly needed
  because we no longer use %c as default datestr format).
2006-12-09 11:16:27 +01:00
Alexis S. L. Carvalho
edf9fef62b Allow the user to specify the fallback encoding for the changelog
Example: use EUC-JP instead of ISO-8859-1:

[ui]
fallbackencoding = EUC-JP
2006-12-08 22:01:05 -02:00
Alexis S. L. Carvalho
2b3be537b8 log: convert branch names to the local encoding 2006-12-08 01:36:50 -02:00
Thomas Arendsen Hein
f18c368506 Use python instead of shell printf with \x sequences for test-encoding.
Needed e.g. to be compatible with Solaris.
2006-12-05 11:23:37 +01:00
Matt Mackall
880daa82ce Make quoting in test-encoding simpler 2006-12-04 14:32:02 -06:00
Matt Mackall
18df2fdfd7 test-encoding: copy a bundle from TESTDIR rather than constructing one 2006-12-03 17:28:58 -06:00
Matt Mackall
1300ae1a67 Hex-encode ! in test-encoding printf
Naked ! tends to confuse shells
2006-12-03 16:51:50 -06:00
Matt Mackall
0849854893 Add a charset encoding test case 2006-12-03 16:16:33 -06:00