rewrote unicode_filter.py, propagated new api