added utf-8 handling in merge3, fixes #33