Re: Incorrect string value when running GeoDjango tutorial

2012-09-23 Thread Ron Broberg
I solved this by changing the encoding in the line in the tutorial for world/load.py from this ... #lm = LayerMapping(WorldBorder, world_shp, world_mapping, # transform=False, encoding='iso-8859-1') To the following ... lm = LayerMapping(WorldBorder, world_shp, worl

Incorrect string value when running GeoDjango tutorial

2012-08-14 Thread Matias Burak
Hi, I was trying to go through the GeoDjango tutorial and when I try to import data with LayerMapping I'm getting the following error: Warning: Incorrect string value: '\xC2\x85land...' for column 'name' at row 1 I'm using MySQL and my charset and collation are set to latin1 (I also trie