-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Comments
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: