¡@

Home 

python Programming Glossary: xbd

UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 1

http://stackoverflow.com/questions/10561923/unicodedecodeerror-ascii-codec-cant-decode-byte-0xef-in-position-1

copyright credits or license for more information. s ' xef xbd xa1 xef xbd xa5 xcf x89 xef xbd xa5 xef xbd xa1 xef xbe x89'.. or license for more information. s ' xef xbd xa1 xef xbd xa5 xcf x89 xef xbd xa5 xef xbd xa1 xef xbe x89' s1 s.decode.. more information. s ' xef xbd xa1 xef xbd xa5 xcf x89 xef xbd xa5 xef xbd xa1 xef xbe x89' s1 s.decode 'utf 8' print s1 Traceback..

How to make python 3 print() utf8

http://stackoverflow.com/questions/3597480/how-to-make-python-3-print-utf8

x8d xc4 x8c.. xc5 xa1 xc5 xa0 xc5 xab xc5 xaa xc5 xbe xc5 xbd # just bytes print sys.getdefaultencoding print sys.stdout.encoding.. x8d xc4 x8c.. xc5 xa1 xc5 xa0 xc5 xab xc5 xaa xc5 xbe xc5 xbd' b'Test .. x9a x8a x9e x8e' b'Test2 xc4 x81 xc4 x80 xc4 x93.. x8d xc4 x8c.. xc5 xa1 xc5 xa0 xc5 xab xc5 xaa xc5 xbe xc5 xbd' print is just too smart... D there's no point using encoded..