How to get the characters from a byte array encoded in python -


i have byte array encoded in utf-8 format. need characters , write file. please b byte array

b=[1,1,-127,-125] 

i need convert each byte character

python 2: can use chr() function. 1 more hint: doesn't matter encoding list of integers has.

python 3: can create instance of bytes() list.


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -