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

Opening files with Polish diacritic signs doesn't work on Windows #126

Closed
marmistrz opened this issue May 21, 2020 · 4 comments
Closed

Opening files with Polish diacritic signs doesn't work on Windows #126

marmistrz opened this issue May 21, 2020 · 4 comments

Comments

@marmistrz
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
The following is done on a Windows 7 machine.

  1. Take a .dcm file containing a Polish diacritic sign, for instance Rafał.dcm
  2. Double click the .dcm file in Windows explorer to open it in Weasis.

Expected behavior
The image loads (this is actually the behavior on Linux)

Actual behavior
No image loads. The same happens if I run Weasis through cmd as Weasis.exe Rafał.dcm. If the file is renamed not to contain the ł letter, the image loads as expected.

Desktop (please complete the following information):

  • OS: Windows 7
  • Java Rutime: 1.8.0_131
  • Weasis Version: 3.6.0

Additional context
If the image is manually imported through the "import" menu, the image is successfully loaded.

Traces
I don't know how to get logs on Windows. There are no logs printed when the app is run from cmd 😕

@nroduit
Copy link
Owner

nroduit commented May 25, 2020

I managed to reproduce the issue. This happens when the path in go through the binary (built by jpackage).

I've submit a bug report in the openjdk project.

@marmistrz
Copy link
Author

JRE 8 is pretty old, maybe using a newer version would do the trick? (I don't have access to the machine ATM so I can't test it right now)

@nroduit
Copy link
Owner

nroduit commented May 25, 2020

No Weasis native embeds the modular JDK 14 (the latest release).

@nroduit
Copy link
Owner

nroduit commented Jun 27, 2020

Fix in JDK 15

@nroduit nroduit closed this as completed Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants