96eece84bd
This format specifier does not perform a wide char to utf8 conversion but rather a locale dependent wide char to multibyte conversion (essentially wcstombs), which is not what this function is expecting to do (it is expected to return utf8 encoded error message). Issue https://github.com/dart-lang/sdk/issues/62252 TEST=not tested, speculative fix Change-Id: Icd5ddbf9969dbd4acd2f7f48626ce0bd6a6a6964 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/468800 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Slava Egorov <vegorov@google.com>