Reverse character replacements