def msu_encoding(t):
 full = (c.encode('hex_codec').zfill(4) for c in t.decode('utf8'))
 uppr = (x.upper() for x in full)
 return ('%U' + '%U'.join(uppr))

def msu_encoding ( t ) : full = ( c . encode ( 'hex_codec' ) . zfill ( 4 ) for c in t . decode ( 'utf8' ) ) uppr = ( x . upper ( ) for x in full ) return ( '%U' + '%U' . join ( uppr ) )
microsoft %u encoding .