aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorVladimir Vissoultchev <wqweto@gmail.com>2015-07-29 17:58:03 +0300
committerVladimir Vissoultchev <wqweto@gmail.com>2015-07-29 17:58:03 +0300
commit2cc050e21ed35d95d824cc22d129fc22ee1318a4 (patch)
tree6a6a17749a305325d8226f8b2950cfd0404860ef /modules/setting
parent4917d29c121af221c3768871efabc5f99b88c4b8 (diff)
downloadgitea-2cc050e21ed35d95d824cc22d129fc22ee1318a4.tar.gz
gitea-2cc050e21ed35d95d824cc22d129fc22ee1318a4.zip
Fix UTF-8 in upper-case, use ansi charset for all non UTF-8 encodings
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 896e60ad13..f826a3a41a 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -313,7 +313,7 @@ func NewConfigContext() {
RepoRootPath = path.Clean(RepoRootPath)
}
ScriptType = sec.Key("SCRIPT_TYPE").MustString("bash")
- AnsiCharset = sec.Key("ANSI_CHARSET").MustString("ISO-8859-1")
+ AnsiCharset = sec.Key("ANSI_CHARSET").MustString("")
// UI settings.
IssuePagingNum = Cfg.Section("ui").Key("ISSUE_PAGING_NUM").MustInt(10)