We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3624a36 commit 57d1ad5Copy full SHA for 57d1ad5
src/rtfparse/entry.py
@@ -57,7 +57,7 @@ def argument_parser() -> argparse.ArgumentParser:
57
58
def de_encapsulate(rp: Rtf_Parser, target_file: pathlib.Path) -> None:
59
renderer = de_encapsulate_html.De_encapsulate_HTML()
60
- with open(target_file, mode="w", encoding="cp1252") as htmlfile:
+ with open(target_file, mode="w", encoding="utf-8") as htmlfile:
61
logger.info(f"Rendering the encapsulated HTML")
62
renderer.render(rp.parsed, htmlfile)
63
logger.info(f"Encapsulated HTML rendered")
src/rtfparse/version.py
@@ -1,4 +1,4 @@
1
#!/usr/bin/env python
2
3
4
-version = "0.7.5"
+version = "0.7.6"
0 commit comments