Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pokestop will become ??? if it's unicode... #5410

Closed
kevinlife opened this issue Sep 12, 2016 · 2 comments
Closed

Pokestop will become ??? if it's unicode... #5410

kevinlife opened this issue Sep 12, 2016 · 2 comments

Comments

@kevinlife
Copy link
Contributor

[2016-09-12 22:59:12] [ SpinFort] [INFO] Spun pokestop ???????. Experience awarded: 50. Items awarded: 3x Pokeball
[2016-09-12 22:59:17] [MoveToFort] [INFO] Moving towards pokestop ???????? - 0.05km
[2016-09-12 22:59:23] [ SpinFort] [INFO] Spun pokestop ????????. Experience awarded: 50. Items awarded: 1x Pokeball, 2x Greatball
[2016-09-12 22:59:28] [MoveToFort] [INFO] Moving towards pokestop ???? - 0.12km
[2016-09-12 22:59:33] [MoveToFort] [INFO] Moving towards pokestop ???? - 0.11km
[2016-09-12 22:59:39] [MoveToFort] [INFO] Moving towards pokestop ???? - 0.10km

@julienlavergne
Copy link
Contributor

Not really. I becomes "????" because your stdout in not configured to display utf-8 encoded characters.
If you change that, you will see all the characters.

@oralunal
Copy link
Contributor

oralunal commented Sep 13, 2016

This is a buggy thing at windows. It's not possible to set default charset to UTF-8 because lots of application can stop working. But there is nice solution for this, before running python pokecli.py if you run this command then your UTF-8 problem will be resolved chcp 65001

Important thing is you should run the command everytim before you start the bot ;)

I think this will help you.

Edit: example output @ windows cmd:

[2016-09-13 04:25:44] [MainThread] [MoveToFort] [INFO] Moving towards pokestop Dino Dişi - 60.82m
[2016-09-13 04:25:49] [MainThread] [MoveToFort] [INFO] Moving towards pokestop Dino Dişi - 47.96m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants