lorniu / go-translate

Translator on Emacs. Supports multiple engines such as Google, Bing, deepL, ChatGPT, StarDict, Youdao and so on.
GNU General Public License v3.0
283 stars 38 forks source link

Fix unreadable the result of DeepL #24

Closed suzuki closed 2 years ago

suzuki commented 2 years ago

About

When translating text to EN -> JA, the result of DeepL was not read. So I fixed it using string-as-multibyte, and it looks like it is displayed correctly. What do you think about this fixing?

Before

スクリーンショット_2022-01-14_8_00_54

After

スクリーンショット 2022-01-14 8 04 27
lorniu commented 2 years ago

Looks good to me. I have no account of Deepl, so can't test, but I think you're right.