python - Unicode int to char, leading zero -


i have integer representing unicode character want transform actual character can print out.

however function unichr() gives me different behaviour depending on whether there leading 0 or not. (see screenshot below better explanation)

however, when integer stored in variable first behavior whilst want achieve second. how can this?

enter image description here


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -