News for hackers. Stuff that matters.
Re:String Lengths in Unicode by masklinn on Monday September 09, 2019 @10:28AM (#20918501)
Yes: https://doc.rust-lang.org/std/ffi/struct.OsString.html

This is also used to deal with filenames on Windows, as they're a different flavour of "not unicode", IIRC that's the original use case for WTF8.

It also has a separate pseudo-string type to deal with C strings: https://doc.rust-lang.org/std/ffi/struct.CString.html

There are no comments on this comment yet.