> Would this be because fullrune doesn't check for validity, and if  
> chartorune fails then the possibility of eating too much comes about?

Mostly, yes.  The fundamental issue is that, presented
with malformed UTF-8, chartorune needs to look at
more bytes than the number it returns.

Russ


Reply via email to