Skip to content

Instantly share code, notes, and snippets.

@teramako
Created March 23, 2014 03:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teramako/9718072 to your computer and use it in GitHub Desktop.
Save teramako/9718072 to your computer and use it in GitHub Desktop.
Mac の QuickTime プラグイン部分(about:addons と about:plugins)が文字化けしているので修正するパッチ
# HG changeset patch
# Parent 573ef29c7a9f67205f71527db56d7f32500feffc
diff -r 573ef29c7a9f toolkit/mozapps/extensions/internal/PluginProvider.jsm
--- a/toolkit/mozapps/extensions/internal/PluginProvider.jsm Sat Mar 22 08:07:42 2014 -0700
+++ b/toolkit/mozapps/extensions/internal/PluginProvider.jsm Sun Mar 23 09:19:00 2014 +0900
@@ -408,7 +408,7 @@
for (let i = 0; i < mimeTypes.length; i++) {
let type = {};
type.type = mimeTypes[i];
- type.description = mimeDescriptions[i];
+ type.description = decodeURIComponent(escape(mimeDescriptions[i]));
type.suffixes = extensions[i];
types.push(type);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment