-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add String::from_utf8_lossy
and String::from_utf8
#1189
Comments
|
@Lampese No, IMO they are too ambiguous. For the Bytes
|
It would be better to support bidirectional conversion between UTFs instead of providing only one way interface. I remember this was requested elsewhere before. Edit: #484 |
@chawyehsu This provides the most intuitive API for converting UTF8 to a built-in String. What's the alternative API design for this? |
I wrote an implementation: |
No description provided.
The text was updated successfully, but these errors were encountered: