AlexanderWillner / deepl-alfred-workflow2

DeepL Alfred Workflow
228 stars 8 forks source link

Issue: Invalid request for Chinese letters #19

Closed manavortex closed 2 years ago

manavortex commented 2 years ago

Hey there,

first of all, thank you for maintaining this. It works fine if I stick to the preconfigured languages.

However, I've run into an issue with "打掛" - which translates fine if I use the website: image

I've tried to poke at the shell script a little, but haven't been able to get it working. Presumably, it's an encoding problem. Could you look into it at some point?

Thank you!

CoffeeDrinkRabbit commented 2 years ago

进入Environment Variables设置界面,把DEEPL_PREFERRED里改成“ZH”,“EN”就可以了。

AlexanderWillner commented 2 years ago

Thanks, I assume this fixes it.