URL encoding for multibyte character string in c++
<p>I am trying to achieve URL encoding for some of my strings via c++. Strings can contaim multibyte characters like ™, ®, ©, etc.</p>

<p><strong>Input text</strong>: Something ™ <br />
<strong>Output should be</strong>: Something%20%E2%84%A2</p>

<p>I can achieve URL encode or decode in JS with encodeURIComponent and decodeURIComponent, 
but I have some native code in c++ and hence need to encode some text via c++.</p>

<p>Any help here would be great relief for me.</p>
