-
Notifications
You must be signed in to change notification settings - Fork 49
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
feat: Implement the from_utf16_lossy(...) API #136
Comments
String has only one method for this, but shouldn't it be three methods? UTF-16 in native, little and big endian. |
Great point, lets do it! What do you think about supporting the following 6 APIs:
|
Side note: looks like @CAD97 has a PR to introduce this to the stdlib too! rust-lang/rust#95967 |
Also cc @NobodyXu, any thoughts here? |
I'm not that familiar with |
This issue for tracking the implementation of the
from_utf16_lossy(...)
method that exists onString
.The text was updated successfully, but these errors were encountered: