On Wed, Apr 03, 2002 at 02:47:31PM -0500, Michael B. Allen wrote:
> > Whenever you are dealing with a variable-length encoding of characters,
> > you really don't want to specify anything in terms of a number of
> > characters.
> 
> So you should not use a variable-length encoding for any serious generic
> string processing like in this DOM example? The DOM spec actually

He's not saying that; he's saying that offsets into strings should be by
byte count, not character count.

The only time multibyte encodings are uselessly bad is when you have an
algorithm that requires random access.

-- 
Glenn Maynard
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to