Legend, Axis-Title and umlaut and special characters

Till Wagner <sacro_thaan@...9...> writes:

The program should be localized to german, frensh, italian and
spanish, so the names can include some umlauts and special
characters (like �, �, �, �, �, � and so on). In my program it works
well, but in the matplotlib-graphs are only squares where the
umlauts should be. Same with the legend. Any help or tips?

The font encoding doesn't match the encoding you're using. Using
unicode strings, e.g. u"\u00e4" for �, may work better, assuming of
course that the font does have the characters you need and that the
backend implements unicode text.

Some resources about Unicode in Python are