Skip to content
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

Feature request: Add support for UTF8 bytestring wrappers (utf8-bytestring-basic, utf8-bytestring-posn...) #192

Open
notYuriy opened this issue Aug 10, 2021 · 1 comment

Comments

@notYuriy
Copy link

notYuriy commented Aug 10, 2021

Alex wrappers have UTF8 encoding logic for wrappers that operate on haskell strings. I think it shouldn't be too difficuilt to add UTF8 bytestrings wrappers (for Data.ByteString.Lazy.UTF8.ByteString type) that will encode UTF8 chars in a similar fashion

@notYuriy
Copy link
Author

The type is provided in utf8-bytestring package

https://hackage.haskell.org/package/utf8-string-1.0.2/docs/Data-ByteString-Lazy-UTF8.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant