pygcstats does show special characters not correctly!

Created by Jochen Schnelle
Keywords:
Last updated by:
Jochen Schnelle

The output of pygcstats uses UTF-8 encoding. In case you don't know what this means: a bit simplified this simply means that also language-specific characters like e.g. the German Umlaute like ä, ö, ü can be displayed correctly.
Anyway, especially when you generate the statistics with HTML output (option --html), it may be that these characters are displayed wrong. This is due to the fact that the --html does _not_ create a fully valid HTML file, but only the snippet needed to copy & paste that into your profile page at geocaching.com.
As a consequence of this, your browser may not detect the encoding of the HTML file correctly and probably used ISO-8815-1 or ISO-8815-15 instead of UTF-8. The result is the wrong display of the characters.
When copying then content to geocaching.com, the problem should be gone, as the geocaching webpage uses UTF-8 as well. To circumvent the problem in your local browser when viewing the locally generated page, simply set the website encoding to UTF-8.

By the way: when calling pygcstats with the option --fullhtml, the problem should not occur, too, as this option generates a fully valid HTML file, including the definition of the correct character encoding