-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Change SString::GetUTF8NoConvert to GetUTF8 that converts the SString #71101
Conversation
This enables SString to get out of the UTF16 state and helps move us away from "SString's natural encoding is UTF16"
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!
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? |
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.