Add a hook to strip some unicode characters