Conversation
This method was always safe.
|
Is there a very strong reason to? I know it doesn't follow the official guidelines, but I also don't think they are always right. |
|
|
|
We've been aware of the official meaning of |
|
@seanmonstar can I at least fix the documentation? It currently says: but there's no UB. I can keep the safety section an explain what the risk is. |
|
Actually it does not reject non-utf-8 sequences in debug more: it only rejects NUL, CR, LF, and DEL. |
This method was always safe.