Hacker News new | ask | show | jobs
by neonsunset 877 days ago
Can't believe someone actually went out of their way to downvote this haha
1 comments

Sounds like you weren't working with C++'s string API. std::string knows nothing about the encoding of the data it encapsulates and can be used to store anything. There are the codecvt functions but it doesn't sound like you're talking about those, either.