modify inline
modify to use Utf8/Utf16