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 b900b0f commit e2fd506Copy full SHA for e2fd506
pybind11_stubgen/writer.py
@@ -21,7 +21,7 @@ def write_module(
21
else:
22
module_file = to / f"{module.name}.pyi"
23
24
- with open(module_file, "w") as f:
+ with open(module_file, "w", encoding="utf-8") as f:
25
f.writelines(line + "\n" for line in printer.print_module(module))
26
27
for sub_module in module.sub_modules:
0 commit comments