add multibyte character support