Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Ported managed Utf8/Unicode encoder/decoder to C++ for usage in PAL #3809

Merged
merged 1 commit into from
Mar 18, 2016
Merged

Ported managed Utf8/Unicode encoder/decoder to C++ for usage in PAL #3809

merged 1 commit into from
Mar 18, 2016

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Mar 18, 2016

I ported the algorithm from src\mscorlib\src\System\Text\UTF8Encoding.cs to src\pal\src\locale\utf8.cpp, for consistency/performance reasons. Also added a couple of tests. See #1725 for some conversation on this issue.

@wtgodbe
Copy link
Member Author

wtgodbe commented Mar 18, 2016

@janvorli I closed the other PR and opened this one because for some reason I couldn't get the CI to run the tests. I believe they should pass now (I was also able to revert the high/low surrogate test to how you originally had it, I believe the error you helped me fix was causing the weird behavior there)

@janvorli
Copy link
Member

LGTM

janvorli added a commit that referenced this pull request Mar 18, 2016
Ported managed Utf8/Unicode encoder/decoder to C++ for usage in PAL
@janvorli janvorli merged commit 6932907 into dotnet:master Mar 18, 2016
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Ported managed Utf8/Unicode encoder/decoder to C++ for usage in PAL

Commit migrated from dotnet/coreclr@6932907
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants