architv / soccer-cli

:soccer: Football scores for hackers. :computer: A command line interface for all the football scores.
MIT License
1.09k stars 222 forks source link

Accented characters do not work on Windows #14

Closed thurask closed 8 years ago

thurask commented 8 years ago

Standings option doesn't have this working, somehow. Example:

[py2] C:\Users\thurask\git\soccer-cli>soccer --standings --league=LLIGA
POS     CLUB                              PLAYED        GOAL DIFF     POINTS
1       RC Celta de Vigo                  2             4             6
1       SD Eibar                          2             4             6
3       Club Atl├®tico de Madrid          2             4             6
4       FC Barcelona                      2             2             6

[py2] C:\Users\thurask\git\soccer-cli>soccer --standings --league=BL
POS     CLUB                              PLAYED        GOAL DIFF     POINTS
1       Borussia Dortmund                 3             10            9
2       FC Bayern M├╝nchen                3             9             9
3       VfL Wolfsburg                     3             4             7
4       1. FC K├Âln                       3             3             7

However, running without the standings option:

[py2] C:\Users\thurask\git\soccer-cli>soccer
Fortuna Köln         2    vs    1 Magdeburg
...
Bourg-en-Bresse Péronnas 2    vs        1 Sochaux FC

[py2] C:\Users\thurask\git\soccer-cli>soccer --team=PAL

2015-08-30      Udinese Calcio       0    vs    1 US Cittá di Palermo
...
Saturn commented 8 years ago

This is the same for me. The characters look fine outside of the --standings. (On Windows)