Skip to content

Translated results contain escaped characters #16

Description

@guanzhangrtk

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:

mymemory.translateText("我不知喜歡")
.then(res => console.log("mymemory result: ", res));

outputs:

mymemory result:  i don't like

Is this intended or is that a bug? Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions