instead of checking size, we try a utf-8 decode first