update for multibyte
add utf-8 fix