Mercurial > hg
diff tests/test-encoding @ 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 diff
--- a/tests/test-encoding Fri Dec 08 23:33:32 2006 +0100 +++ b/tests/test-encoding Fri Dec 08 22:01:05 2006 -0200 @@ -47,3 +47,8 @@ HGENCODING=latin-1 hg branches echo % utf-8 HGENCODING=utf-8 hg branches + +echo '[ui]' >> .hg/hgrc +echo 'fallbackencoding = euc-jp' >> .hg/hgrc +echo % utf-8 +HGENCODING=utf-8 hg log