Fixed compiler encoding warnings.

This fixes compiler warning: 'Unmappable character for encoding UTF-8'. It turns out that
the 'ö' character encoding is saved incorrectly under some circumstances, causing these
warnings.