4

In emacs (or other editor) how to display the byte offset of the cursor?

view full story
linux-howto

http://unix.stackexchange.com – The question indicates my preference to use emacs, but the overriding issue is that I want to be able to do a normal text search and somehow see/copy-paste the byte-offset of the matched text. To be clear, by byte-offset, I do not mean emac's point value, which shows the number of characters from the start of the buffer, eg. in UTF-16LE, point considers \x0d\x00\x0a\x00 as 1 character, whereas I'm interested in it as 4 bytes. Any other editor (or viewer) which presents this basic information while displaying the text in a "normally" readable and searchable fashion is worthwile. Even (HowTos)