From bd2e08e8f342fa30da63ce6625c87e991b7e9f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sat, 6 Apr 2019 11:38:31 +0200 Subject: [PATCH] Fix translate-shell subprocess output encoding --- trans/trans.go | 1 + 1 file changed, 1 insertion(+) diff --git a/trans/trans.go b/trans/trans.go index 81ce7ea..3889964 100644 --- a/trans/trans.go +++ b/trans/trans.go @@ -28,6 +28,7 @@ func (tj transJob) Translate() []string { func (tj transJob) execTrans() ([]byte, error) { config := []string{ + "-no-ansi", "-show-original", "n", "-show-original-phonetics", "n", "-show-dictionary", "n",