title: mysql_real_escape_string and special characters
body: <p>I'm working on OpenCart to make an application for importing data from an ERP.
  In some descriptions of the items is sometimes used the character "°" (degree).
  The application of insert of the standard software in question used "mysql_real_escape_string" and accepts the character specified above.
  In my application I use the same function, but the function imports  only the previous characters before of "°" and then moves on to the next product. 
  I've tried to debug and the variable contains the rightdescription.
  Certenly there's an error, but I don't understand where is.
  Has anyone had a similar problem and solved it?
  How?</p>
  
  <p>thanks
  bye</p>
  
  <p>This is my code</p>
  
  <pre><code>$this-&gt;db-&gt;query("UPDATE " . DB_PREFIX . "product_description SET name = '" .  $this-&gt;db-&gt;escape($description_it) . "' WHERE product_id = '" . (int)$product_id  . "' AND language_id = '2'");
  </code></pre>
  
  <p>and this is the function of Opencart</p>
  
  <pre><code>public function escape($value) {
      if ($this-&gt;link) {
          return mysql_real_escape_string($value, $this-&gt;link);
      }
  }
  </code></pre>