We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 614bbb2 commit a31d827Copy full SHA for a31d827
1 file changed
src/treemapper/treemapper.py
@@ -3,6 +3,9 @@
3
4
5
def main() -> None:
6
+ # Force UTF-8 for stdout on Windows (default cp1252 can't handle Unicode)
7
+ if sys.platform == "win32" and hasattr(sys.stdout, "reconfigure"):
8
+ sys.stdout.reconfigure(encoding="utf-8")
9
from .cli import parse_args
10
from .clipboard import ClipboardError, copy_to_clipboard
11
from .ignore import get_ignore_specs
0 commit comments