Postel's principle: By liberal in what you accept... It means that the tool won't crash just because there's weird input.
You could have the format definition forbid these characters; and then in the section about Postel's principle have "If you choose to accept forbidden characters, you MUST treat them as '?'".