-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Change SString::GetUTF8NoConvert to GetUTF8 that converts the SString #71101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This enables SString to get out of the UTF16 state and helps move us away from "SString's natural encoding is UTF16"
jkotas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
jkoritzinsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jkotas same process applies for SetLiteral, correct?
Yep |
…w convert the SString itself and in some cases it was already in UTF8) and implement PR feedback.
Co-authored-by: Aaron Robinson <[email protected]>
… with a scratch buffer.
…jkoritzinsky/runtime into sstring-getutf8
Co-authored-by: Jan Kotas <[email protected]>
|
@jkotas any more feedback? |
jkotas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you!
This enables SString to get out of the UTF16 state and helps move us away from "SString's natural encoding is UTF16".
This is the first of multiple PRs based on work in #69748.