Bug #200230
public python v1 · immutable# input is u"abcd" returns <UABCD>def convertToUnicodePoints(uniString): uniPointString = "<" for c in uniString.decode("utf-8"): uniPointString += 'U%04X' % (ord(c),) uniPointString += "><" # strip the last < & return return uniPointString[:-1]