Skip to content

Instantly share code, notes, and snippets.

@dannykopping
Created October 8, 2011 21:27
Show Gist options
  • Select an option

  • Save dannykopping/1272904 to your computer and use it in GitHub Desktop.

Select an option

Save dannykopping/1272904 to your computer and use it in GitHub Desktop.
Convert RTF and MS Word Text to UTF8
$output = iconv('UTF-8', 'ASCII//TRANSLIT', $input);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment