-
Notifications
You must be signed in to change notification settings - Fork 13
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
How are bytestrings encoded? #134
Comments
Hey, that's super interesting. Thank you for the report and sorry for the delay (I kinda missed the notification). I had a look and to be honest it is unclear for me. The code Note that if you do not use Your workaround is great. All of that being said, I'm really wondering if Maybe it could be convenient to introduce monomorphised quasi quoters with precise encoding semantic, such as I'll be happy to have your input on that, and especially, in which context did you tried to use pyf to generate |
That might be useful, though I'm not sure how to read that (is the "input" assumed to be utf8 or the output?). I think at least it would be good to have some kind of note about this in the docs, perhaps that one should avoid using plain
It's been some months so I can't recall exactly, but it may have been that I was appending a bytestring with show Int to create another bytestring (as a key for rocksdb) |
("ø" in UTF-8 is 0xC3 0xB8 which is 195 184)
Does fmt encode bytestrings using some other encoding?
My current workaround is to restrict it to text
The text was updated successfully, but these errors were encountered: