News for hackers. Stuff that matters.
Re:It's Not Wrong that " ".length == 7 by account42 on Friday August 22, 2025 @05:17AM (#44982451)
Yes, I always roll my eyes when people complain that C strings or C++'s std::string/string_view don't have Unicode support. They are bags of bytes with support for concatenation. Any other transformation isn't going to have a "correct" way to do it so you need to be aware of what you want anyway.
Re:It's Not Wrong that " ".length == 7 by astrange on Friday August 22, 2025 @02:23PM (#44987917)
C strings are not bags of bytes because they can't contain 0x00.