Jump to content

Problem with Russian "й" letter


Recommended Posts

Hi, guys!
 
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.
 
 

When I write instead of "words[1]" (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 "и". 

Edited by Silva
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...