mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
use utf8 encoding for stdout from aspell
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user