title: PHP: Convert single-quoted string into double-quoted
body: <p>I need to convert string with unicode \xCODEs into regular string. 
  The issue is that string which I have as input seems to be single-quoted. </p>
  
  <p>Is there any way to convert single-quoted string into double? </p>
  
  <p><em>Here's some code for better understanding:</em></p>
  
  <pre><code>$s1 = '(single quotes): Conductivity @ 20\xc3\x82\xc2\xb0C';
  $s2 = "(double quotes): Conductivity @ 20\xc3\x82\xc2\xb0C";
  
  echo "&lt;br&gt;";
  echo iconv("UTF-8", "ISO-8859-1//IGNORE", $s1);
  echo "&lt;br&gt;";
  echo iconv("UTF-8", "ISO-8859-1//IGNORE", $s2);
  </code></pre>
  
  <p>will output:</p>
  
  <pre><code>(single quotes): Conductivity @ 20\xc3\x82\xc2\xb0C
  (double quotes): Conductivity @ 20°C
  </code></pre>
  
  <p>Thanks in advance!</p>