开发者

best way to transfer multi encoded characters over boost::asio

I want to transfer xml in 开发者_如何学Csingle byte characters, but some of the values will be in unicode. i.e.

<value>Unicode string</value>

I'm using boost::asio.


Network/Socket transfer => single byte encoding XML => mostly UTF-8

Conclusion: convert everything to UTF-8 before pushing it to boost::asio.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜