To the extent possible, it should try to retain the data. But if ever the character is actually needed for something (like parsing JSON or displaying a glyph), the bad region should be replaced with a series of replacement characters:

http://en.wikipedia.org/wiki/Replacement_character#Replacement_character

Reply via email to