=pro #15616 UTF-8 charset and exception with offending file (for Validation)

Port to `master`

Resolves #15616