Lists Home |
Date 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 firstname.lastname@example.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