mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 15:08:20 +00:00
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>
This commit is contained in:
parent
d26885e2bf
commit
1bec60e02a
6
templates/install.tmpl
vendored
6
templates/install.tmpl
vendored
|
@ -73,12 +73,12 @@
|
||||||
<div class="inline required field">
|
<div class="inline required field">
|
||||||
<label>{{.i18n.Tr "install.charset"}}</label>
|
<label>{{.i18n.Tr "install.charset"}}</label>
|
||||||
<div class="ui selection database type dropdown">
|
<div class="ui selection database type dropdown">
|
||||||
<input type="hidden" name="charset" value="{{if .charset}}{{.charset}}{{else}}utf8{{end}}">
|
<input type="hidden" name="charset" value="{{if .charset}}{{.charset}}{{else}}utf8mb4{{end}}">
|
||||||
<div class="default text">utf8</div>
|
<div class="default text">utf8mb4</div>
|
||||||
<i class="dropdown icon"></i>
|
<i class="dropdown icon"></i>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<div class="item" data-value="utf8">utf8</div>
|
|
||||||
<div class="item" data-value="utf8mb4">utf8mb4</div>
|
<div class="item" data-value="utf8mb4">utf8mb4</div>
|
||||||
|
<div class="item" data-value="utf8">utf8</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue