Advertisement
Guest User

Untitled

a guest
Dec 13th, 2011
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.13 KB | None | 0 0
  1. function convertToUtf8($string)
  2. {
  3.     return mb_convert_encoding($string, 'UTF-8', array("CP1252", "UTF-8", "ISO-8859-1", "ASCII"));
  4. }
  5.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement