Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
3834:a7b61c3b0f93 | 3835:d1ce5461beed |
---|---|
45 HGENCODING=ascii hg branches | 45 HGENCODING=ascii hg branches |
46 echo % latin-1 | 46 echo % latin-1 |
47 HGENCODING=latin-1 hg branches | 47 HGENCODING=latin-1 hg branches |
48 echo % utf-8 | 48 echo % utf-8 |
49 HGENCODING=utf-8 hg branches | 49 HGENCODING=utf-8 hg branches |
50 | |
51 echo '[ui]' >> .hg/hgrc | |
52 echo 'fallbackencoding = euc-jp' >> .hg/hgrc | |
53 echo % utf-8 | |
54 HGENCODING=utf-8 hg log |