mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
use utf8 encoding for stdout from aspell
This commit is contained in:
parent
5c82ef80b6
commit
f273a27b95
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ class ASpellWorker {
|
|||
}
|
||||
})
|
||||
|
||||
this.pipe.stdout.setEncoding('utf8') // ensure utf8 output is handled correctly
|
||||
var output = ''
|
||||
const endMarker = new RegExp('^[a-z][a-z]', 'm')
|
||||
this.pipe.stdout.on('data', chunk => {
|
||||
|
|
Loading…
Reference in a new issue