Skip to content

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_ciin the following columns (and/or the whole database).

  • forts.name
  • gym_defenders.owner_name
  • gym_defenders.nickname
  • poke_stops.name