-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
escape_string
/ unescape_string
not symmetric
#2867
Comments
This happens because the string is not valid utf-8. In many ways the same issue as #1792 . |
So, actually, it looks like What I get back is of type I imagine what's happening now is that the thing reading the string recognizes valid utf8 characters and so bumps the type of the whole thing to |
This particular data is neither valid UTF-8 nor ASCII, so to pursue that we'd need to add |
I think you will have to use |
I have this issue when trying to escape / unescape strings that were originally parsed expressions containing floats (integers work fine, haven't tried much else).
And, indeed, if you try to parse ustr:
The text was updated successfully, but these errors were encountered: