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

std::wstring names #64

Open
n0lavar opened this issue Nov 9, 2022 · 4 comments
Open

std::wstring names #64

n0lavar opened this issue Nov 9, 2022 · 4 comments
Assignees

Comments

@n0lavar
Copy link

n0lavar commented Nov 9, 2022

non-english output may look like this
image
it would be nice to get localized text

@ThePhD
Copy link
Owner

ThePhD commented Nov 9, 2022

Ooh, that does look like some pretty bad mojibake.... let's see if we can't clean that up a little bit.

What's your locale, so I can test locally?

@ThePhD ThePhD self-assigned this Nov 9, 2022
@n0lavar
Copy link
Author

n0lavar commented Nov 10, 2022

setlocale(LC_ALL, "");
cout << "LC_ALL: " << setlocale(LC_ALL, NULL) << endl;
cout << "LC_CTYPE: " << setlocale(LC_CTYPE, NULL) << endl;

this gives me

LC_ALL: Russian_Russia.1251
LC_CTYPE: Russian_Russia.1251

btw I don't know what is hidden
image

@nabijaczleweli
Copy link
Collaborator

nabijaczleweli commented Nov 10, 2022

Given that I get

  OS:
    Name     : Windows NT
    Full name: Microsoft Windows 10 Home
    Version  : 10.0.14393 build 693

it's "Микрософт" probably?

@n0lavar
Copy link
Author

n0lavar commented Nov 10, 2022

Looks like this

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

3 participants