code: def _convert_to_unicode(string):
      
      codepoints = []
      for character in string.split('-'):
          if character in BLACKLIST_UNICODE:
              next
  
          codepoints.append(
              '\U{0:0>8}'.format(character).decode('unicode-escape')
          )
  
      return codepoints
docs: This method should work with both Python 2 and 3 with the caveat
      that they need to be compiled with wide unicode character support.
  
      If there isn't wide unicode character support it'll blow up with a
      warning.