title: Is there any exist API for URL-encoding in mfc c++?
body: <p>I am using the following code:</p>
  
  <pre><code>CAtlNavigateData navData;
  CStringA m_strForm = "name=+++&amp;priv=1&amp;password="；
  navData.SetPostData((BYTE*)(LPSTR)(LPCSTR)m_strForm, m_strForm.GetLength(), QHTTP_FORM_URLENCODE);
  </code></pre>
  
  <p>special symbols such as :"+++" need to do url-encoding, without url-encoding, +++ will turned into space.</p>
  
  <p>I need a converer.</p>
  
  <pre><code>CString URLEncodingConvertion(const CString&amp; original)
  {
  XXX
  }
  </code></pre>
  
  <p>Is there any APIs for doing this in c++? 
  If I implement it myself, maybe I can not take whole situations into account. And can not control the code.</p>
  
  <p>Can anyone help?</p>
  
  <p>Many thanks!</p>