Skip to content

Fix UnicodeEncodeError causing location not found#1054

Merged
douglascamata merged 1 commit intoPokemonGoF:devfrom
vieira:patch-6
Jul 26, 2016
Merged

Fix UnicodeEncodeError causing location not found#1054
douglascamata merged 1 commit intoPokemonGoF:devfrom
vieira:patch-6

Conversation

@vieira
Copy link
Copy Markdown

@vieira vieira commented Jul 26, 2016

Short Description:
When there are special characters in initial location, e.g. "ç" a UnicodeEncodeError is raised and caught causing valid initial locations being reported as not parsable.

Fixes:

  • UnicodeEncodeError causing location not found when initial location contains special chars, e.g. "ç".

When there are special characters in initial location, e.g. "ç" a UnicodeEncodeError is raised and caught causing valid initial locations being reported as not parsable.
@douglascamata
Copy link
Copy Markdown
Member

@vieira did you test this?

@vieira
Copy link
Copy Markdown
Author

vieira commented Jul 26, 2016

Yes, I did. You can use e.g. "Praça do Comércio, Lisbon" as initial location to reproduce the problem and test the fix.

@glenncampioni
Copy link
Copy Markdown
Contributor

Tested and confirmed as working.

@douglascamata douglascamata merged commit 014401d into PokemonGoF:dev Jul 26, 2016
hoanghuynh pushed a commit to hoanghuynh/PokemonGo-Bot that referenced this pull request Sep 28, 2016
…okemonGoF#1054)

* Like PokemonGoF#1043, but with migration as well. Stupid, stupid peewee migration...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants