Hacker News new | past | comments | ask | show | jobs | submit
To be fair, there aren't many languages out there where working with strings and encodings is not a nightmare
C and C++ are amongst the worst for working with strings, substrings, etc. It has gotten a bit better in newer versions of C++ (and I don't keep track of changes in C, so not sure what is going on there these days), but it is still far behind most more modern languages.

Python has good string support, as does Rust. I think (though I don't know it myself) Perl is famous for good string handling? Even bash has ok support for working with strings.

So I don't really agree on "aren't many languages", but then again there are a ton of languages I don't know, so maybe those I mentioned are the exception.

It’s unclear whether you are talking about the ergonomics of dealing with strings, the flexibility of using encodings other than UTF-8, or whether you mean human-oriented or computer-protocol-oriented string handling. It’s also unclear whether you are talking about using the standard library only or if you include other ubiquitous libraries like ICU.
I said "strings and encodings". Almost all modern languages break the moment you realise there's more to text than ASCII