summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-06-18 21:36:59 +0200
committerGitHub <noreply@github.com>2020-06-18 15:36:59 -0400
commit98ddf87b032bf31d6a6f7b191408ed02e2a6e1dc (patch)
tree498782fe06d7cd5e8f3d03d37b50f17117f8f1ec /custom
parent1fb783efb0dbb3cb866f37ee6b77a003b636de59 (diff)
downloadgitea-98ddf87b032bf31d6a6f7b191408ed02e2a6e1dc.tar.gz
gitea-98ddf87b032bf31d6a6f7b191408ed02e2a6e1dc.zip
Update docs to specify utf8mb4 default (#11962)
Install tool already sets it as the default so we can just update example ini and docs to it. Fixes: https://github.com/go-gitea/gitea/issues/11081
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 512073d43d..648cf59fec 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -375,9 +375,9 @@ SCHEMA =
; For Postgres, either "disable" (default), "require", or "verify-full"
; For MySQL, either "false" (default), "true", or "skip-verify"
SSL_MODE = disable
-; For MySQL only, either "utf8" or "utf8mb4", default is "utf8".
+; For MySQL only, either "utf8" or "utf8mb4", default is "utf8mb4".
; NOTICE: for "utf8mb4" you must use MySQL InnoDB > 5.6. Gitea is unable to check this.
-CHARSET = utf8
+CHARSET = utf8mb4
; For "sqlite3" and "tidb", use an absolute path when you start gitea as service
PATH = data/gitea.db
; For "sqlite3" only. Query timeout