Hi all,

I wonder to know if someone has tried html2zim : https://github.com/MacroBull/html2zim clipcli is working fine. When I do the following command (under Ubuntu Linux), I have a good result:

$ ./clipcli.py text/html
��<pre><code>clipcli text/html</code></pre>


But html2zim doesn't work.

$ ./clipcli.py text/html -f ./index.html | ./html2zim.py -w /home/charles ./index.html
Traceback (most recent call last):
  File "./html2zim.py", line 432, in <module>
    sys.exit(main())
  File "./html2zim.py", line 424, in main
    buf = open(sys.argv[1]).read().decode('utf-8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start byte

Any idea? Unfortunatly, I haven't got any knowledge of python.


Charles.


_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to