Skip to content

Instantly share code, notes, and snippets.

@pvhee
Last active August 29, 2015 14:02
Show Gist options
  • Select an option

  • Save pvhee/ea592fdc2ac4b2311561 to your computer and use it in GitHub Desktop.

Select an option

Save pvhee/ea592fdc2ac4b2311561 to your computer and use it in GitHub Desktop.
imagecache_external_utf8
diff --git a/imagecache_external.module b/imagecache_external.module
index 124c7b2..9a0682f 100755
--- a/imagecache_external.module
+++ b/imagecache_external.module
@@ -388,6 +388,10 @@ function imagecache_external_allowed_mimetypes() {
'image/png',
'image/gif',
'application/octet-stream',
+ 'image/jpeg;charset=UTF-8',
+ 'image/png;charset=UTF-8',
+ 'image/gif;charset=UTF-8',
+ 'application/octet-stream;charset=UTF-8',
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment