$ perl -le' $_ = "\x{C9}ric"; print do { use bytes; length }; ' 38 XXX Should be 39