epub-tools icon indicating copy to clipboard operation
epub-tools copied to clipboard

Switch from String to Text

Open dino- opened this issue 5 years ago • 2 comments

This will probably give us a lot of non-English book support out-of-the-box, but will need lots of tests to see how that goes.

dino- avatar May 13 '19 14:05 dino-

I know there are only a handful of places where you're using String, but could you point me in the direction of which ones need changing? I'm guessing it's wherever the text processing happens but I couldn't find it quickly enough, and I have young children lol.

tillydray avatar May 21 '19 00:05 tillydray

The real work of parsing epub metadata for these tools is happening in a separate library, epub-metadata My attention has now come back around to both of these projects but it's going to take some time for me to get the (many, MANY) StringS out of epub-metadata. They're everywhere and come from its advanced age and reliance of the hxt library, which is very String-oriented. I am looking into switching this out for xml-conduit now, which would be great experience for me as well. I have an issue over there at dino-/epub-metadata#1

dino- avatar Feb 03 '20 16:02 dino-