I try to write my workflow for working with Lingualeo.com (it's Russian service for learning English ).
Translating works well, but when I try to add a word and its translation to Lingualeo the letter "й" replace to the letter "и". I'm sure this problem in one of my python scripts because when I tried to hardcode translation with this "й" letter - it works fine. So it's not Lingualeo's API problem...
The weird thing that in notification it works fine.
I guess it's sort of automatic normalization or some problem with encoding but I'm just a beginner. I would be very grateful if you can help me solve this problem.
Workflow files: https://github.com/PazzaVlad/alfred-lingualeo/tree/master/LinguaLeo%20Translate
When I write instead of "words" (this is translation) just string "йога" here https://github.com/PazzaVlad/alfred-lingualeo/blob/master/LinguaLeo%20Translate/addtodictionary.py#L24 - it works fine. Letter "Й" doesn't replace by letter "и".