Fix: name lookup now can encode utf8 correctly