def remove_surrogates(s, errors='replace'):
    return s.encode('utf-8', errors).decode('utf-8')
Adds a child to this node (appends to left of existing children).
dataset/ETHPy150Open jborg/attic/attic/helpers.py/remove_surrogates--crossover with--dataset/ETHPy150Open openstack/taskflow/taskflow/types/tree.py/Node.add