Changed replacement character for 4-byte UTF-8 chars to '?'.