Fix translate-shell subprocess output encoding
This commit is contained in:
parent
b816c3b811
commit
bd2e08e8f3
@ -28,6 +28,7 @@ func (tj transJob) Translate() []string {
|
|||||||
|
|
||||||
func (tj transJob) execTrans() ([]byte, error) {
|
func (tj transJob) execTrans() ([]byte, error) {
|
||||||
config := []string{
|
config := []string{
|
||||||
|
"-no-ansi",
|
||||||
"-show-original", "n",
|
"-show-original", "n",
|
||||||
"-show-original-phonetics", "n",
|
"-show-original-phonetics", "n",
|
||||||
"-show-dictionary", "n",
|
"-show-dictionary", "n",
|
||||||
|
Loading…
Reference in New Issue
Block a user