Quote:
Originally Posted by kovidgoyal
You can specify the encoding when using mobigen. I haven't bothered with getting the filepos exactly right since it's not that critical. As long as you make sure you dont insert an anchor inside another <> you're fine.
If I had to guess I'd say filepos represents byte position not character position, since in the cp1252 encoding every character is one byte and that was the original encoding mobigen used, back when it was prcgen.
|
I have confirmed that it is byte position. My original test file was corrupt.
Yes, i assume you can just put an anchor somewhere but I wanted to re-use the existing anchor if it existed...