mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
revise comment
This commit is contained in:
parent
43670e3d4c
commit
4bdfa5f30b
1 changed files with 2 additions and 3 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue