[
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
re-registered.
> 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
|