Fixed several character encoding issues