hi, kovidgoyal
I found a bug relatived to encoding.
I has a txt file with gbk encoding, so I use any2epub with --encoding gbk. Any2epub convert the txt from gbk txt to utf-8 html, it's ok. But, in the second step, any2epub pass the original encoding opts (gbk) to html2epub, so the final result is wrong.
I think changing the encoding opts to utf-8 before calling html2epub should fix it.
|