(self, cp, replace=u'', use_substitutes=False)
return self._cp_to_unicode.get(cp, replace)
Convert codepage point to unicode grapheme cluster.
Convert codepage point to unicode grapheme cluster.
Convert codepage point to unicode grapheme cluster .
def codepoint_to_unicode(self, cp, replace=u'', use_substitutes=False):
        """Convert codepage point to unicode grapheme cluster."""
        if use_substitutes and self._substitutes:
            try:
                return self._substitutes[cp]
            except KeyError:
                pass
        return self._cp_to_unicode.get(cp, replace)
def codepoint_to_unicode ( self , cp , replace = u'' , use_substitutes = False ) : if use_substitutes and self . _substitutes : try : return self . _substitutes [ cp ] except KeyError : pass return self . _cp_to_unicode . get ( cp , replace )