Hi how i can use persion(like arabic) words and texts in python2 and python3 | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Hi how i can use persion(like arabic) words and texts in python2 and python3

python

13th Nov 2016, 3:11 PM
mil
mil - avatar
2 Respostas
+ 1
well you should import the Unicode of the language that you want to use it read these : http://docs.python.org/howto/unicode.html http://stackoverflow.com/questions/3856246/unicodeencodeerror-when-reading-pdf-with-pypdf
14th Nov 2016, 12:07 PM
fazel
fazel - avatar
+ 1
thanks fazel im using kivy and when i put text = 'Ų³Ł„Ų§Ł…' the out put is Ł… Ų§ Ł„ Ų³ how it will be fixed thanks again
14th Nov 2016, 7:10 PM
mil
mil - avatar