1. Mikhail Korobov
  2. django-easy-maps
  3. Issues
Issue #20 invalid

computed address incorrect string value

hawksalon
created an issue

I'm getting this error for certain city/region/country maps:

I give lat and lon: '45.53278 20.02833'

Django Version: 1.5.1 Exception Type: Warning Exception Value:

Incorrect string value: '\xD0\xA8\xD0\xBA\xD0\xBE...' for column 'computed_address' at row 1

Exception Location: /usr/lib/python2.7/dist-packages/MySQLdb/cursors.py in _warning_check, line 92

Comments (3)

  1. hawksalon reporter

    That was it! I changed the field encoding to UTF-8. Is there a way to specify the encoding type in the model? Thanks for responding so quickly!

  2. Log in to comment