title: Is there any easy way to replace %20 by a space in a CString?
body: <p>I need to replace some %20 by spaces and got compile errors which i do not understand:</p>
  <pre><code>CString str = _T(&quot;foo%20bar&quot;);
  str.Replace('%20',' '); // C4305 argument: truncation from 'int' to 'wchar_t'
  str.Replace(_T('%20'),_T(' ')); // C4305 argument: truncation from 'int' to 'wchar_t'
  str.Replace(_T(&quot;%20&quot;),_T(&quot; &quot;)); // C2664 'int ATL::CStringT&lt;wchar_t,StrTraitMFC_DLL&lt;wchar_t,ATL::ChTraitsCRT&lt;wchar_t&gt;&gt;&gt;::Replace(const wchar_t *,const wchar_t *)': cannot convert argument 1 from 'const char [4]' to 'wchar_t'        
  </code></pre>
  <p>What is wrong?</p>