[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: utf

deloptes (2018-04-04):
> ok, thanks. I understood the part above, but not sure if I understand this
> part. A standard text editing operation is find and replace, where you get
> the start and end point in the string. Of course it is not "n completely
> out of the blue".

I am not sure exactly what is your example, but you got its flaw right:
n is not out of the blue, it was obtained by previously walking the
string. And in that case, you have all freedom to express n as a more
convenient entity than an index expressed in terms of chars. A pointer
maybe, or a pair with both the char index and the octet offset.


  Nicolas George

Attachment: signature.asc
Description: Digital signature

Reply to: