News for hackers. Stuff that matters.
Re:Curl is C by asveikau on Monday March 27, 2017 @06:09PM (#13972265)
Unless you have U+0000 there isn't any other sequence of code points that has an 0x00 byte in UTF-8. I don't see this as a huge problem.

If you really do need it there are some C language libraries that use "pascal-ish" structs to do strings. UNICODE_STRING in Windows comes to mind. Doing strings in C doesn't force you to use C strings, it's just the most common thing to do.

Re:Curl is C by fauigerzigerk on Tuesday March 28, 2017 @04:08AM (#13974923)
No it's not a huge problem, but if you're not aware of it, it could easily lead to a security breach: https://news.ycombinator.com/item?id=13974919