Replace forbidden characters