Configure etherpad to use utf8mb4
We need to set this in the settings.json. While we're there, set the defaults in my.cnf. I don't think that actually matters, but it also shouldn't hurt. Change-Id: I52e65136383f6c06d1693dd3d396f527c7e0b377
This commit is contained in:
parent
513da85123
commit
81a1e235d0
@ -1,6 +1,6 @@
|
|||||||
[client]
|
[client]
|
||||||
# Default is Latin1, if you need UTF-8 set this (also in server section)
|
# Default is Latin1, if you need UTF-8 set this (also in server section)
|
||||||
default-character-set = utf8
|
default-character-set = utf8mb4
|
||||||
|
|
||||||
[mysqld]
|
[mysqld]
|
||||||
wait_timeout = 28800
|
wait_timeout = 28800
|
||||||
@ -9,7 +9,7 @@ wait_timeout = 28800
|
|||||||
#
|
#
|
||||||
# Default is Latin1, if you need UTF-8 set all this (also in client section)
|
# Default is Latin1, if you need UTF-8 set all this (also in client section)
|
||||||
#
|
#
|
||||||
character-set-server = utf8
|
character-set-server = utf8mb4
|
||||||
collation-server = utf8_bin
|
collation-server = utf8mb4_bin
|
||||||
character_set_server = utf8
|
character_set_server = utf8mb4
|
||||||
collation_server = utf8_bin
|
collation_server = utf8mb4_bin
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
"user" : "{{ etherpad_db_user }}",
|
"user" : "{{ etherpad_db_user }}",
|
||||||
"host" : "localhost",
|
"host" : "localhost",
|
||||||
"password": "{{ etherpad_db_password }}",
|
"password": "{{ etherpad_db_password }}",
|
||||||
|
"charset" : "utf8mb4",
|
||||||
"database": "etherpad-lite"
|
"database": "etherpad-lite"
|
||||||
},
|
},
|
||||||
//the default text of a pad
|
//the default text of a pad
|
||||||
|
Loading…
Reference in New Issue
Block a user