You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding('utf-8')
& .\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.
The text was updated successfully, but these errors were encountered:
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:
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding('utf-8')
& .\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.
The text was updated successfully, but these errors were encountered: