OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] ANN: Gorille 0.3

[ Lists Home | Date Index | Thread Index ]


> > Elliotte Rusty Harold wrote:
> > 
> > > It could be worse, though. You could be using C, and trying to decode 
> > > UTF-8. :-)
> > 
> > ?? It's about 10 lines of code, and has been written lots of
> > times now.   

But if your UTF-8 file is a big string, it slows you down for random access:
don't you have to count from the closest known point (unworkable) or maintain 
some kind of chop points (e.g. a list of line deltas). 

At least in UTF-8 you can just count bytes <0x80 to count characters.

Cheers
Rick Jelliffe





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS