Permalink
Browse files

Merge pull request #862 from joeinnes/patch-1

Set encoding as UTF-8 in diff_match_patch.php
  • Loading branch information...
2 parents de11496 + d57c4dd commit c80c31b4743116883f98d240c51efdff48106d37 @daeks daeks committed Sep 25, 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 c80c31b

Please sign in to comment.