Substitute special characters with more compatible ones