rust/compiler
Matthias Krüger 734e866e63
Rollup merge of #110586 - ChrisDenton:msvc-oem-output, r=workingjubilee
Fix Unreadable non-UTF-8 output on localized MSVC

Fixes #35785 by converting non UTF-8 linker output to Unicode using the OEM code page.

Before:

```text
  = note: Non-UTF-8 output: LINK : fatal error LNK1181: cannot open input file \'m\x84rchenhaft.obj\'\r\n
```

After:

```text
   = note: LINK : fatal error LNK1181: cannot open input file 'märchenhaft.obj'
```

The difference is more dramatic if using a non-ascii language pack for Windows.
2023-04-30 01:14:55 +02:00
..
2023-04-28 20:19:48 +02:00
2023-04-25 18:59:55 +01:00
2023-04-28 20:19:48 +02:00
2023-04-21 02:14:04 -07:00
2023-04-28 20:19:48 +02:00
2023-04-20 12:00:41 -03:00
2023-04-25 14:15:31 +08:00