Fixing Microsoft Word character encoding