michaelrsweet / htmldoc

HTML Conversion Software
https://www.msweet.org/htmldoc
GNU General Public License v2.0
206 stars 46 forks source link

utf-8 encoding problem. #526

Open anotatta opened 2 months ago

anotatta commented 2 months ago

Thanks for promising software.

I ran into utf-8 encoding problem on the output file. The command used is htmldoc.exe --charset utf-8 --outfile out.html index.html

where index.html is: <html> <head><meta charset="UTF-8"></head> <body><p> abcdef...z<br> āīūṭḍḷṁṇṅṃĀ </p></body></html>

The output shows wrong character abcdef...z �����������

Thanks for any help or pointer.

michaelrsweet commented 2 months ago

What version of HTMLDOC?

What OS/Linux distribution?

Did you install a package or compile from source?

anotatta commented 2 months ago

htmldoc binary version 1.9.18. for Window 10 from htmldoc-1.9.18-windows.msi Both the gui and the cli version have the same encoding problem.