Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly handle Unicode characters that come out of
ibtool
. (#967)
In some cases, `ibtool` emits messages with curly quotes: ``` warning: “SomeViewController“ is unreachable because it has no entry points, and no identifier for runtime access via -[UIStoryboard instantiateViewControllerWithIdentifier:]. ``` If `sys.{stdout,stderr}` have a default encoding of `ascii`, the later operation to write the Unicode strings to these streams will fail unless we reopen the stream with `utf8` encoding. PiperOrigin-RevId: 339937656 (cherry picked from commit 14bfbaa) Co-authored-by: Tony Allevato <[email protected]>
- Loading branch information