change charcode to utf-16