def test_unicode():
    filename, mode = 'test.h5', 'w'
    u = unichr(233) + unichr(0x0bf2) + unichr(3972) + unichr(6000)
    dump(u, filename, mode)
    u_hkl = load(filename)

    try:
        assert type(u) == type(u_hkl) == unicode
        assert u == u_hkl
        # For those interested, uncomment below to see what those codes are:
        # for i, c in enumerate(u_hkl):
        #     print i, '%04x' % ord(c), unicodedata.category(c),
        #     print unicodedata.name(c)
    except AssertionError:
        os.remove(filename)
        raise
The keys in the returned map are all the supported scripts.
dataset/ETHPy150Open telegraphic/hickle/tests/test_hickle.py/test_unicode--crossover with--dataset/ETHPy150Open googlei18n/nototools/nototools/generate_website_2_data.py/get_script_to_family_ids