Quote:
Originally Posted by Ephemerality
Whoops, by adding the soft hyphen regex I broke the HTML tag stripping. I'll fix that shortly. Not sure why the locations are off, I'll have to investigate...
Edit: The Voyage does have a new X-Ray format, in an SQLite database. Currently looking through it, not sure how far I'll get without the actual device to see what it looks like when it's displayed.
|
So I'm not entirely sure what's going with the locations being off. The copy of White Fang that I've been testing with only has the issue when I read it in as UTF-8. When I open it in Notepad++ and go to a certain spot, then highlight from that spot back to the beginning, it shows (for example) 4771 characters selected. When I then try to go to offset 4771 (where the Kindle is going to try to read), it is way off of where I think it should be. If I convert the file to ANSI encoding, it works fine.
So there's some issue due to the encoding that I don't entirely understand...
Finished a test version of a converter to convert from the old X-Ray format to the new one that the Voyage is using. If anyone else has a Voyage and wants to try it, send me a PM. It's a command-line tool, so users should be comfortable with that.