> Actually, you'd just store it internally as a sequence of "char".
> Nothing complicated there.

It is pretty complicated. Just tell me in O(1) time at what physical
offset the n-th "logical" character sits.

I fear you have to scan the whole sequence...

UTF-8 is only appropriate for sequential, not for random access. UTF-8 in
files is fine, but not internally.

Andre'


-- 
André Pönitz ............................................. [EMAIL PROTECTED]

Reply via email to