forked from Noctem/Monocle
-
Notifications
You must be signed in to change notification settings - Fork 20
Unicode names support
Hydro74000 edited this page Nov 8, 2017
·
2 revisions
If you are having problem with unicode related error, make sure to set your DB charset as utf8 in config.py
E.g. for mysql,
DB_ENGINE = 'mysql://user:pass@host:port/db?charset=utf8mb4'
for postgresql,
DB_ENGINE = 'postgresql://user:pass@host:port/db?client_encoding=utf8'
For MySQL, also make sure encoding is UTF-8 Unicode (utf8mb4)
and Collation is utf8_general_ci
in the following columns (and/or the whole database).
- forts.name
- gym_defenders.owner_name
- gym_defenders.nickname
- poke_stops.name