From 2a63edd52c6e116d344edd0048a838804721084d Mon Sep 17 00:00:00 2001 From: anekos Date: Sat, 18 Apr 2009 06:50:33 +0900 Subject: [PATCH] Fix: A wrong value is set into 'encoding' option at liberator.startup. --- common/content/liberator.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/content/liberator.js b/common/content/liberator.js index d6d3a277..61c0242a 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -1330,7 +1330,10 @@ const liberator = (function () //{{{ // set before by any RC file for (let option in options) { - if (option.setter) + // 'encoding' option should not be set at this timing. + // Probably a wrong value is set into the option, + // if current page's encoging is not UTF-8. + if (option.name != "encoding" && option.setter) option.value = option.value; }