Japanese in python function

Posted by ha22109 on Stack Overflow See other posts from Stack Overflow or by ha22109
Published on 2010-03-26T10:15:40Z Indexed on 2010/03/26 10:23 UTC
Read the original article Hit count: 349

Hello All,

I wrote a function in python which is used to tell me whether the two words are similar or not.

but now i want to pass japanese text in my same function.It is giving error not a ascii character.I tried using utf -8 ecoding, but then it giving the same error

Non-ASCII character '\xe3' in file

Is there any way to do that.I cant generate the msg file for that since the 2 keyword will be not be constant.

© Stack Overflow or respective owner

Related posts about python

Related posts about internationalization