1. Olivier Lauzanne
  2. pyquery
  3. Issues
Issue #67 wontfix

encoding problem

Alireza Nourian
created an issue

Please help me for converting this piece of code in lxml context to yours. I've got some encoding issues when loading my html in PyQuery.

tree = etree.parse('input', etree.HTMLParser(encoding='utf-8'))
tree.write('output', encoding='utf-8')

Comments (1)

  1. Log in to comment