def find_0width_characters():
    """Find zero-width Unicode characters ending with the given byte"""
    for b in range(0, 256):
        prefix = _find(b)
        assert prefix is not None, 'no matching character'
        codepoint = (prefix << 8) | b
        print(f'{hex(b)}: {hex(codepoint)}')
Find zero-width Unicode characters ending with the given byte
utils/insta/grapheme_finder.py