-
-
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
deprecate utf32(Integer...) method? #11379
Comments
Deprecating it seems reasonable. |
👍 or 👎 on |
👎 on |
|
OK, that almost worked... got an error because of no method: ERROR: MethodError: `convert` has no method matching convert(::Type{UTF32String}, ::Array{Int64,1}) however |
No, you're right, I was missing the type specifier. |
Fix #11379 deprecate utf32(Integer...)
utf32 has the following method:
However, neither utf8 nor utf16 have that functionality...
(also, the utf32 version does no validity checking, which it probably should).
Either the method for utf32 (and the test in strings.jl) should be deprecated and then removed,
or utf8 and utf16 should be make to act consistently (and add validity checking).
The text was updated successfully, but these errors were encountered: