-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Problem running in user account when username contains utf characters #238
Comments
See issue #124 While |
Nominally the workaround is to install |
This is likely a JVM issue. Try running with a different JVM if possible (IBM's J9 does not exhibit this behavior). I have filed a bug for this (no reference number yet) against Oracle's 1.6/1.7 JDK. |
Hello, We encounter the exact same issue and are kind of stuck. Do you have the oracle issue reference by any chance ? Cheers, |
The problem is tracked by: https://bugs.openjdk.java.net/browse/JDK-8017274 I was able to reproduce this on Oracle JDK 8 on windows 10. |
I encountered this problem while trying to get the NetBeans IDE to work in similar situations (various things in NetBeans use JNA, including FlatLAF). The problem can now be avoided by enabling "Beta: Use Unicode UTF-8 for worldwide language support" in the Region/Administrative/Change System Locale control panel option, and using a recent version of Java (where https://bugs.openjdk.org/browse/JDK-8272352 is fixed or backported). (In the NetBeans case, the need to adjust control panel options is avoided by specifying UTF-8 as the activeCodePage in the launcher EXE file's application manifest, but that won't be an option when just running java.exe directly.) |
It's also good to know that another JDK which fixes the problem is e.g. OpenJDK 19 or Oracle JDK 19. |
…ic constructor (java-native-access#238) Motivation: QuicStreamAddress is part of the public API so we should make it possible to construct it in other implementations of the QUIC api Modifications: Mark the constructor of QuicStreamAddress as public Result: Be able to construct QuicStreamAddress outside of our own package
Here is a simple test program (for jna 3.5.2):
When I test it on win7 account цц (2 cyrillic characters), I get the following exception:
When I test it on win7 account xx (2 'normal' characters), all goes fine.
This is heavy if you want to ship to russia or the most places in the world.
What may I do with this ?
The text was updated successfully, but these errors were encountered: