commit 37a6684546bb4911d442789d05b4bb0769477dcf
parent 52fe187328dd4f17f7cfab51e2cefd1f6c01966f
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 15 Aug 2006 01:09:06 +0000
write "?" if a character cannot be converted to UTF-8 (although i'm not sure how this would ever happen)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/chromeFiles/content/scholar/fileInterface.js b/chrome/chromeFiles/content/scholar/fileInterface.js
@@ -256,7 +256,7 @@ var Scholar_File_Interface = new function() {
// create UTF-8 output stream
var os = Components.classes["@mozilla.org/intl/converter-output-stream;1"].
createInstance(Components.interfaces.nsIConverterOutputStream);
- os.init(fStream, "UTF-8", 0, "¥");
+ os.init(fStream, "UTF-8", 0, "?");
os.writeString(html);