Remix.run Logo
bjackman 17 hours ago

I believe this is what Rust OsStrings are under the hood on Windows.

extraduder_ire 16 hours ago | parent [-]

Which I assume stands for "Windows-Transformation-Format-8(bits)".

mmoskal 14 hours ago | parent [-]

Abstract

WTF-8 (Wobbly Transformation Format − 8-bit) is a superset of UTF-8 that encodes surrogate code points if they are not in a pair.

hedora 12 hours ago | parent [-]

Can you still assume the bytes 0x00 and 0xFF are not present in the string (like in UTF-8?)