indicators icon indicating copy to clipboard operation
indicators copied to clipboard

Doesn't work on Windows 10 (1909)

Open johngladp opened this issue 5 years ago • 3 comments

Hi, Is this expected to work on Windows and Window 10?

Running on Windows 10 Pro: 10.0.18363 (1909) the contents of the progress bars contain lots of invalid characters: image

The binary was built using Visual Studio 2019 16.6.0, cmake folders build, vanilla configure with samples enabled.

johngladp avatar May 22 '20 12:05 johngladp

Yes it is expected to work in Windows. The sample you are running, multi_block_progress_bar, has unicode characters. This requires some configuration in Windows. See here

p-ranav avatar May 22 '20 14:05 p-ranav

you can add SetConsoleOutputCP(CP_UTF8) in the ProgressBar constructor

bzctoons avatar Nov 10 '21 10:11 bzctoons