commit 4bdfa5f30b02e4a79e3461312251183850bf4033 parent 43670e3d4cc7107b94b1e4ef485386256706cdae Author: Simon Kornblith <simon@simonster.com> Date: Sun, 12 Dec 2010 13:29:28 +0000 revise comment Diffstat:
| M | chrome/content/zotero/xpcom/translation/browser_firefox.js | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/translation/browser_firefox.js b/chrome/content/zotero/xpcom/translation/browser_firefox.js @@ -198,9 +198,8 @@ Zotero.Translate.IO.Read = function(file, mode) { '|\xF4[\x80-\x8F][\x80-\xBF]{2}' + // plane 16 ')*$'); - // Read all currently available bytes from file. I'm not sure how many this is - // but it's a safe bet that we don't want to try to read any more than this, since - // it would slow things down considerably. + // Read all currently available bytes from file. This seems to be the entire file, + // since the IO is blocking anyway. this._charset = "UTF-8"; let bytesAvailable; while(bytesAvailable = this._rawStream.available()) {