Open westyles opened 1 year ago
I will check that back as soon as I could resolve the issue with complete svn-to-git conversion of all mine repos.
https://github.com/chronoxor/gil/issues/6 https://github.com/dirk-thomas/vcstool/issues/243 https://github.com/dirk-thomas/vcstool/issues/249
When run from cmd or ps with output (encoding) set to UTF-8, the utility still outputs in ANSI. And therefore the characters are not displayed. Same thing if output to a file, it gets ansi encoding.
For cmd it works like this: chcp 65001 wxFileDialog.exe "" . "Open Me"
Result with Cyrillic file name: Z:\ .txt
Same in PS:
& .\wxFileDialog.exe "" "." "Open Me"
Result with Cyrillic file name: Z:\ .txt
If you set cmd chcp 866 or PS [Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding('cp866') then instead of Cyrillic characters are hieroglyphs. That is, the output does not match. It's not just about Cyrillic, but in general this problem of one encoding output.