Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why this over, say, CESU-8? Compatibility with UTF-8 systems, I guess?


According to the article, they wanted a superset of UTF-8, which CESU-8 is not. https://simonsapin.github.io/wtf-8/#cesu-8


Yes. For example, this allows the Rust standard library to convert &str (UTF-8) to &std::ffi::OsStr (WTF-8 on Windows) without converting or even copying data.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: