via RT wrote: > Note the in bytes: even if the filehandle has been set to operate > on characters (for example by using the ":encoding(utf8)" I/O > layer), "tell" will return byte offsets, not character offsets > (because implementing that would render "sysseek" unacceptably > slow). > >Where it says "tell" I think it should say "sysseek". No, it really does mean "tell", but the wording is a bit awkward. It's obviously been copied from the equivalent paragraph in the "seek" doc, and that seems to have been copied from the equivalent for "tell", where it fits rather better. Note that it's referring to a function *returning* a byte offset, which "tell" relevantly does. "sysseek" also returns an offset, but that isn't discussed (and so isn't relevant) until the last paragraph of this doc. -zeframThread Previous | Thread Next