I am trying to convert the html entity to unichar, the html entity is when i try to do the following:
unichr(int(976918)) <
unichr(int(976918))
Here's an alternate workaround that I developed with the struct module.
struct
def unichar(i): try: return unichr(i) except ValueError: return struct.pack('i', i).decode('utf-32') >>> unichar(int('976918')) u'\U000ee816'