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
It seems weird to give what's commonly the default behavior for UTF-8 decoding the longer name.
Also, I would be much more comfortable if this referenced https://encoding.spec.whatwg.org/#utf-8-decode. We don't really want other decoding behavior and Unicode historically gave other options here.
The text was updated successfully, but these errors were encountered:
Seems reasonable to drop string.new_utf8 and have string.new_utf8_lossy take its place, given that there is nothing useful one can do with a trap anyway. Perhaps, a mechanism to tell, after the fact, whether replacement was performed, would provide more useful utility, as it could be utilized to trap, warn or raise an exception?
It seems weird to give what's commonly the default behavior for UTF-8 decoding the longer name.
Also, I would be much more comfortable if this referenced https://encoding.spec.whatwg.org/#utf-8-decode. We don't really want other decoding behavior and Unicode historically gave other options here.
The text was updated successfully, but these errors were encountered: