-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translated results contain escaped characters #16
Comments
@guanzhangrtk Hi, thanks for opening the issue. This is certainly a bug. I'm quite busy at the moment, however, I will try to check it out asap. It would be also great If someone wants to work on it. Just make a PR ;) Does this happen when you use the GoogleTranslator instead of mymemory? |
@nidhaloff Seems to be the same for GoogleTranslator so I'm guessing it must be some common library:
I'll try to take a look and if I can find a solution I'll send you a PR, thanks in advance! |
…anslated text Fixes nidhaloff#16
@nidhaloff Just submitted a PR -- I'll let you decide whether you want to include this additional library or not. I could easily work around the issue myself by adding this in my own code. Thanks for your help in advance! |
Thanks for making this library available! I'm currently writing a Discord bot to perform OCR on text-containing images which also provides the functionality of translating transcribed texts to English.
It appears that if the translated result contains any special characters such as
'
, it will get escaped. For example:outputs:
Is this intended or is that a bug? Thanks!
The text was updated successfully, but these errors were encountered: