CITGuru / PyInquirer

A Python module for common interactive command line user interfaces
MIT License
1.91k stars 235 forks source link

ConEmu doesnt show the right characters #131

Closed ghost closed 3 years ago

ghost commented 3 years ago

I have a script which uses a checkbox question type. But the checkboxes do not show in ConEmu. You can't see if they are checked or unchecked: image

If I use cmd.exe the checkboxes show up normally. image

ghost commented 3 years ago

Found a solution. Add the following in the ConEmu: Settings > Startup > Environment

chcp 65001 set PYTHONIOENCODING=utf-8