Hacker News new | past | comments | ask | show | jobs | submit login

> Try passing a std::string in from C/C++ code. It treats it as a byte string

Because that's exactly what it is? std::string is a bytes buffer, not actual text. There's no guarantee that the contents of std::string will be in any encoding, let alone a specific one.




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

Search: