Testing with utf8 encoding

This commit is contained in:
Griatch 2024-06-27 19:45:57 +02:00
parent 4e2fa1bde0
commit 79291e315a

View file

@ -47,14 +47,14 @@ DATABASES = {
"HOST": os.environ.get("MYSQL_HOST", "127.0.0.1"), "HOST": os.environ.get("MYSQL_HOST", "127.0.0.1"),
"PORT": os.environ.get("MYSQL_PORT", "3306"), "PORT": os.environ.get("MYSQL_PORT", "3306"),
"OPTIONS": { "OPTIONS": {
"charset": "utf8mb4", "charset": "utf8", #"utf8mb4",
"init_command": "set collation_connection=utf8mb4_unicode_ci", "init_command": "set collation_connection=utf8_unicode_ci",
}, },
"TEST": { "TEST": {
"NAME": "evennia", "NAME": "evennia",
"OPTIONS": { "OPTIONS": {
"charset": "utf8mb4", "charset": "utf8", # "utf8mb4",
"init_command": "set collation_connection=utf8mb4_unicode_ci", "init_command": "set collation_connection=utf8_unicode_ci",
}, },
}, },
} }