Example #1
0
def code_points_to_unicode(code_points):
    return ''.join(
        code_point_to_unicode(p)
        for p in code_points.split('-')
    )
def code_points_to_unicode(code_points):
    return ''.join(code_point_to_unicode(p) for p in code_points.split('-'))
Example #3
0
 def test_code_point_to_unicode(self):
     self.assertEqual(
         code_point_to_unicode('1F58B'),
         '\U0001f58b'
     )
 def test_code_point_to_unicode(self):
     self.assertEqual(code_point_to_unicode('1F58B'), '\U0001f58b')