[fix] textdiff fails on unicode chars