Fix encoding problems in table of contents

Fix the display of german umlaut characters in the table of contents dock
widget.

Resolves issue #70