mirror of
https://github.com/zotero/zotero.git
synced 2026-09-17 23:51:18 +00:00
write "?" if a character cannot be converted to UTF-8 (although i'm not sure how this would ever happen)
This commit is contained in:
parent
52fe187328
commit
37a6684546
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue