aboutsummaryrefslogtreecommitdiff
path: root/rpki/gui/default_settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/gui/default_settings.py')
-rw-r--r--rpki/gui/default_settings.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpki/gui/default_settings.py b/rpki/gui/default_settings.py
index 02987bb8..a30b0362 100644
--- a/rpki/gui/default_settings.py
+++ b/rpki/gui/default_settings.py
@@ -76,8 +76,14 @@ DATABASES = {
# removing this after the syncdb is performed as an optimization,
# but there isn't an easy way to do this automatically.
+ # Setting charset to latin1 is a disgusting kludge, but without
+ # this MySQL 5.6 (and, proably, later) gets tetchy about ASN.1
+ # DER stored in BLOB columns not being well-formed UTF8 (sic).
+ # If you know of a better solution, tell us.
+
'OPTIONS': {
'init_command': 'SET storage_engine=INNODB',
+ 'charset': 'latin1',
}
}
}