def decompose_nfkd(text):
if text is None:<EOL><INDENT>return None<EOL><DEDENT>if not hasattr(decompose_nfkd, '<STR_LIT>'):<EOL><INDENT>decompose_nfkd._tr = Transliterator.createInstance('<STR_LIT>')<EOL><DEDENT>return decompose_nfkd._tr.transliterate(text)<EOL>
Perform unicode compatibility decomposition.

    This will replace some non-standard value representations in unicode and
    normalise them, while also separating characters and their diacritics into
    two separate codepoints.