Skip to content

Instantly share code, notes, and snippets.

@frejlev
Created February 7, 2013 16:47
Show Gist options
  • Save frejlev/4732289 to your computer and use it in GitHub Desktop.
Save frejlev/4732289 to your computer and use it in GitHub Desktop.
fixChar method
public function charFix($text) {
return mb_convert_encoding($text,"HTML-ENTITIES","UTF-8");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment