How do I HTML-/ URL-Encode a std::wstring containing Unicode characters?

后端 未结 4 1714
猫巷女王i
猫巷女王i 2021-01-06 02:36

I have another question yet. If I had a std::wstring looking like this:

ドイツ語で検索していてこちらのサイトにたどり着きました。

How could I possibly get it

4条回答
  •  时光说笑
    2021-01-06 03:03

    First, convert to UTF-8. Then, normal URL/HTML encode would do the right thing.

提交回复
热议问题