fall back to utf-8 if we get a unicode error
Merge pull request #18334 from thatch45/uni_usr

fall back to utf-8 if we get a unicode error