You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies, I made this as a followup task for #36167. One reviewer commented that it would be nice to include a test point for this case, but the PR was already merged.
I meant to submit a PR for this last week, but it slipped my mind. I just pushed my branch with the changes here. I'll create a pull request for this issue today.
sgilmore10
changed the title
[C++] Add lone surrogate pair test case for UTF8StringToUTF16
[C++] Add lone high and low code-point test case for UTF8StringToUTF16Jun 29, 2023
…ringToUTF16 (#36383)
### Rationale for this change
This is a followup PR to #36167 that addresses feedback left after the PR was merged.
### What changes are included in this PR?
1. Added a test point verifying `UTF8StringToUTF16` returns an `Invalid` status if given a UTF-8 encoded string that contains a lone high or low code point.
2. Removed `ARROW_EXPORT` from definitions of `UTF8StringToUTF16` and `UTF16StringToUTF18`.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* Closes: #36173
Lead-authored-by: Sarah Gilmore <sgilmore@mathworks.com>
Co-authored-by: sgilmore10 <74676073+sgilmore10@users.noreply.github.com>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Signed-off-by: Antoine Pitrou <antoine@python.org>
Describe the enhancement requested
Add lone surrogate pair test case for
UTF8StringToUTF16
.Component(s)
C++
The text was updated successfully, but these errors were encountered: