preparing for utf-16 support