Permalink
Browse files

Set encoding as UTF-8

  • Loading branch information...
1 parent de11496 commit d57c4ddfe149b472f4e0bd2d5d7591a976a2e16f @joeinnes joeinnes committed Sep 15, 2015
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/diff_match_patch.php
@@ -30,6 +30,9 @@
* Class containing the diff, match and patch methods.
* @constructor
*/
+
+mb_internal_encoding('UTF-8'); // Add UTF-8 support
+
class diff_match_patch {
// Defaults.
@@ -2114,4 +2117,4 @@ function echo_Exception($str){
}
//mb_internal_encoding("UTF-8");
-?>
+?>

0 comments on commit d57c4dd

Please sign in to comment.