diff development.ini @ 7327:9937ae52f167

hg: set encoding to utf-8 by default to always show unicode characters correctly Unicode characters would be shown as '?' if Kallithea was launched in a LANG=C environment (or similar). The problem could be solved by setting HGENCODING before launching Kallithea or before importing Mercurial. These are often not good solutions. Instead, introduce a hgencoding config setting that triggers monkey patching of Mercurial.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 09 Jun 2018 16:28:33 +0200
parents 52544ad8a946
children e2519d2e74c2
line wrap: on
line diff
--- a/development.ini	Sat May 19 22:00:41 2018 +0200
+++ b/development.ini	Sat Jun 09 16:28:33 2018 +0200
@@ -160,6 +160,9 @@
 ## can be also a comma separated list of encoding in case of mixed encodings
 default_encoding = utf8
 
+## Set Mercurial encoding, similar to setting HGENCODING before launching Kallithea
+hgencoding = utf-8
+
 ## issue tracker for Kallithea (leave blank to disable, absent for default)
 #bugtracker = https://bitbucket.org/conservancy/kallithea/issues