Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wxFileDialog.exe does not support UTF-8 #1

Open
westyles opened this issue Jan 19, 2023 · 1 comment
Open

wxFileDialog.exe does not support UTF-8 #1

westyles opened this issue Jan 19, 2023 · 1 comment

Comments

@westyles
Copy link

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.

@andry81
Copy link
Owner

andry81 commented Jan 20, 2023

I will check that back as soon as I could resolve the issue with complete svn-to-git conversion of all mine repos.

chronoxor/gil#6
dirk-thomas/vcstool#243
dirk-thomas/vcstool#249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants