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

Fix #18203