5 ms·
Yeah, I was bit confused when your conclusions seem to match the original "strings are broken" posts conclusions. The whole problem is that current string type
by zokier 13y ago
Yeah, I was bit confused when your conclusions seem to match the original "strings are broken" posts conclusions.
The whole problem is that current string types enable broken unsafe behavior on Unicode ("human only" in your parlance) strings. Current string types are broken because they do not enforce the requirement that string operations are done only on plain ASCII ("machine only") strings.
- ipedrazas 13y agowhat if I have to create strings with non ASCII chars? Calling ASCII "machine only" is totally wrong. I agree that encoding/decoding is a pain, but we have different string encodings for a reason.