More systematic approach to unicode character replacement.
Make sure unicode character replacements finish with a semicolon.