runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Unix hosting APIs (coreclr_initialize, etc) should use UTF-8 on all platforms

Open gregg-miskelly opened this issue 10 years ago • 4 comments

Currently the CoreCLR hosting APIs (coreclr_initialize, etc) are using UTF-8 on Unix, but regular only MBCS strings on Windows. This means that they cannot support Unicode characters in paths.

These APIs should change to use UTF-8 characters on all platforms, or they should be removed for Windows since they are broken.

gregg-miskelly avatar Apr 28 '16 00:04 gregg-miskelly

CC @janvorli @schellap

gkhanna79 avatar Apr 28 '16 00:04 gkhanna79

This PR would have to be reverted to go back to UTF8. With current code in the cli repo, this is a 1 line change.

https://github.com/dotnet/cli/pull/2673

schellap avatar Apr 28 '16 00:04 schellap

@janvorli are we supposed to use a different API on Windows? Or CoreCLR would make this change?

schellap avatar Apr 28 '16 00:04 schellap

Fixed by dotnet/coreclr#4894

janvorli avatar May 11 '16 00:05 janvorli