Character encoding solved