Skip to content

Conversation

@radekdoulik
Copy link
Member

Fix #56163

The getcwd call is returning the string encoded in system character
encoding.

Use native GetCurrentDirectoryW call instead and convert to utf-8.

Fix dotnet#56163

The getcwd call is returning the string encoded in system character
encoding instead of utf-8.

Use native GetCurrentDirectoryW call instead and convert to utf-8.
@ghost
Copy link

ghost commented Sep 1, 2021

Tagging subscribers to this area:
See info in area-owners.md if you want to be subscribed.

Issue Details

Fix #56163

The getcwd call is returning the string encoded in system character
encoding.

Use native GetCurrentDirectoryW call instead and convert to utf-8.

Author: radekdoulik
Assignees: -
Labels:

area-VM-meta-mono

Milestone: -

@radical
Copy link
Member

radical commented Sep 1, 2021

Can we add a specific test for this?

@lambdageek
Copy link
Member

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Sep 2, 2021

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1194243207

@radekdoulik radekdoulik merged commit 6f68bbd into dotnet:main Sep 2, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Oct 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.NET 6 Android AOT fails on certain folder names

3 participants