Page 1 of 1

Greek letters in directory/file names

Posted: Fri Oct 31, 2025 3:16 pm
by odeon
Hi,
I'm on oXygen Editor 27.1, build 2025063013, in Ubuntu 25.10 with the KDE Plasma 6.5.1 desktop, and I've encountered a weird file path-related issue where File->Open, drag&drop, or double-click of an XML file in location where the path contains Greek characters can't be found or opened. Also, oXygen's File Open dialog won't even open any such directory -- the dialog can't display anything and a sleep cursor replaces the usual one, but clicking Cancel works.

For example, a folder that looks like this can't be shown in the dialog, and non of the XML files inside can be opened.:

Code: Select all

.
├── tree.txt
├── ΑΠΟΦΑΣΗ - DECISION
│   ├── PROP_ACT-cmcklkhbq00010140n6sv1mjs-en.leg
│   ├── debug
│   │   └── PROP_ACT-cmcklkhbq00010140n6sv1mjs-en
│   │       ├── e10-50-leos-xml.xml
│   │       ├── e20-50-leos-xml.xml
│   │       └── e30-50-leos-xml.xml
│   ├── out
│   │   └── PROP_ACT-cmcklkhbq00010140n6sv1mjs-en.xml
│   └── reports
│       ├── xml-validation-report.xml
│       └── xml-validation-result.xml
├── ΑΠΟΦΑΣΗ ΔΕΔ - DECISION DED
│   ├── PROP_ACT-cmcj0pl7h00190n299aabdeuk-en.leg
│   ├── debug
│   │   └── PROP_ACT-cmcj0pl7h00190n299aabdeuk-en
│   │       ├── e10-50-leos-xml.xml
│   │       ├── e20-50-leos-xml.xml
│   │       └── e30-50-leos-xml.xml
│   ├── out
│   │   └── PROP_ACT-cmcj0pl7h00190n299aabdeuk-en.xml
│   └── reports
│       ├── xml-validation-report.xml
Other tools work just fine. For example, I can open the XML files just fine in the Sublime Text editor. The XProc 3.1 pipeline I the process files with also has no problems dealing with the paths.

Any ideas? And, as ever, thank you for a great editor!

Best,

Ari Nordström

Re: Greek letters in directory/file names

Posted: Mon Nov 03, 2025 5:48 pm
by adrian
Hello,

The file path handling in Oxygen depends heavily on the Java VM’s locale, encoding, and filesystem character support. Java usually detects the locale from the system, but I guess it can sometimes fail, or there may be a Linux desktop environment that does not set env vars to what Java expects.

Please check in Oxygen's menu > Help > About, System properties, and look for "file.encoding" and (scroll to the end) "user.country" and "user.language" properties.
Run in a Terminal the "locale" command and compare its output with the Java properties from Oxygen.

If the "file.encoding" in Oxygen is not UTF-8, you might want to give it a shot and set it explicitly.
Create a new file named "custom_commons.vmoptions" and add this argument:

Code: Select all

-Dfile.encoding=UTF-8
Copy the file to the Oxygen installation folder and start Oxygen with the oxygen27.1 launcher. Double check in Help > About, System properties if it was set. Test the File > Open dialog.

Regards,
Adrian

Re: Greek letters in directory/file names

Posted: Fri Nov 07, 2025 4:50 pm
by odeon
Hi Adrian,

The file.encoding property listed ANSI_X3.4-1968, which seems odd.

I added the -Dfile.encoding option to the custom vmoptions file (I already had one to do hidpi scaling) and restarted, but the problems persist even though oXygen now says that the encoding is UTF-8.

The locale command gives

Code: Select all

LANG=C.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="C.UTF-8"
LC_NUMERIC=sv_SE.UTF-8
LC_TIME=sv_SE.UTF-8
LC_COLLATE="C.UTF-8"
LC_MONETARY=C.UTF-8
LC_MESSAGES="C.UTF-8"
LC_PAPER=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_ADDRESS=sv_SE.UTF-8
LC_TELEPHONE=sv_SE.UTF-8
LC_MEASUREMENT=C.UTF-8
LC_IDENTIFICATION=sv_SE.UTF-8
LC_ALL=
which appears to be correct.

Best,

/Ari

Re: Greek letters in directory/file names

Posted: Fri Nov 07, 2025 5:22 pm
by odeon
Hi Adrian,

I think I solved the problem, thanks to your input, and wanted to note it here in case someone else has the same problem.

I noticed that

Code: Select all

LC_ALL
was unset when I ran

Code: Select all

locale
, so I set it in

Code: Select all

/etc/environment
by adding the line (in my case)

Code: Select all

LC_ALL="sv_SE.UTF-8"
, and then rebooted. Now, everything works.

Thanks for your help.

Best,

/Ari

Re: Greek letters in directory/file names

Posted: Fri Nov 07, 2025 7:42 pm
by adrian
Woa, good find. I'm glad you found the solution.
It's a little weird that it didn't work after setting the Java encoding to UTF-8, but perhaps the issue was at the other end...

Regards,
Adrian