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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -