diff options
author | zeripath <art27@cantab.net> | 2020-04-06 14:33:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 09:33:15 -0400 |
commit | 1bec60e02afe7c3999f48fa5630031893bd440e8 (patch) | |
tree | 34f728717abe2711b4bfeaf32cb446a2887b6cae /templates | |
parent | d26885e2bf0a53af1c5c97c9d062f329250d8d20 (diff) | |
download | gitea-1bec60e02afe7c3999f48fa5630031893bd440e8.tar.gz gitea-1bec60e02afe7c3999f48fa5630031893bd440e8.zip |
Change default charset for MySQL on install to utf8mb4 (#10989)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/install.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/install.tmpl b/templates/install.tmpl index 5251382cc4..6dc5e58e4f 100644 --- a/templates/install.tmpl +++ b/templates/install.tmpl @@ -73,12 +73,12 @@ <div class="inline required field"> <label>{{.i18n.Tr "install.charset"}}</label> <div class="ui selection database type dropdown"> - <input type="hidden" name="charset" value="{{if .charset}}{{.charset}}{{else}}utf8{{end}}"> - <div class="default text">utf8</div> + <input type="hidden" name="charset" value="{{if .charset}}{{.charset}}{{else}}utf8mb4{{end}}"> + <div class="default text">utf8mb4</div> <i class="dropdown icon"></i> <div class="menu"> - <div class="item" data-value="utf8">utf8</div> <div class="item" data-value="utf8mb4">utf8mb4</div> + <div class="item" data-value="utf8">utf8</div> </div> </div> </div> |