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 ]

Rick Jelliffe scripsit:

> 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). 

You can back up very easily just a byte or three and get yourself

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

Make that 0xC0.

John Cowan           http://www.ccil.org/~cowan              cowan@ccil.org
Please leave your values        |       Check your assumptions.  In fact,
   at the front desk.           |          check your assumptions at the door.
     --sign in Paris hotel      |            --Miles Vorkosigan


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

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