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

localisation broken #648

Open
chipitsine opened this issue Aug 29, 2023 · 7 comments
Open

localisation broken #648

chipitsine opened this issue Aug 29, 2023 · 7 comments

Comments

@chipitsine
Copy link
Contributor

image

built on win10 by VS 17.7.2

well. it does not happen when installing an installer from https://openvpn.net
also, I'm curious, can we change 'графический интерфейс OpenVPN' --> 'OpenVPN' ?

@lstipakov
Copy link
Member

Do you use FAR, or is it Norton Commander? :)

This might be a duplicate of #491. Looks like none of us have had time to investigate it.

I agree, Графический интерфейс looks completely unnecessary. Feel free to submit a PR.

@ilia-shipitsin
Copy link

Do you use FAR, or is it Norton Commander? :)

This might be a duplicate of #491. Looks like none of us have had time to investigate it.

I agree, Графический интерфейс looks completely unnecessary. Feel free to submit a PR.

as I guess installers are built on en_us locale. while locally I use ru_ru.
I'll check that.

that's FAR

@chipitsine
Copy link
Contributor Author

I added BOM to res/openvpn-gui-res-ru.rc and issue is gone

@chipitsine
Copy link
Contributor Author

I'll submit patch for sussian localization.
for other I'd suggest to wait for feedback

@chipitsine
Copy link
Contributor Author

@selvanair , do you know somehow whether BOM is supposed to be there or maybe some automatic validation "that is good rc file"

@selvanair
Copy link
Collaborator

@selvanair , do you know somehow whether BOM is supposed to be there or maybe some automatic validation "that is good rc file"

We use pragma code_page(65001) so that all res files should get interpreted as UTF-8. We do not do any validation during build. But that doesn't appear to be the issue here as the content of the rc files appear to be valid UTF-8 and local builds I have tested displays these correctly.

Why some builds lead to corrupted text and some not is unclear to me.

@Neustradamus
Copy link

Dear @OpenVPN,

Have you progressed on this problem?

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

5 participants