You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlikely. I think this is over the boundary of "stuff we're going to punt to libicu and provide in std, not core".
If it's confusing to have them in char, remove them from char and put them in libc, taking a c_char, to clarify that they do not work on Full Unicode. The unicode logic in core::char is confirmant, but minimal, not intended to be complete.
As per Graydon's comments on #1985: remove char::to_lower and
char::to_upper. The str versions of these functions now call
libc::tolower and libc::toupper (using wrappers that cast between
char and c_char). Not sure how much better that is, but it at least
makes it clearer that these functions are Unicode-unsafe.
celinval
pushed a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
currently they're ASCII-only.
The text was updated successfully, but these errors were encountered: