Greek letters in directory/file names

Having trouble installing Oxygen? Got a bug to report? Post it all here.
odeon
Posts: 50
Joined: Mon Mar 12, 2007 1:56 am
Location: Sweden

Greek letters in directory/file names

Post 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
adrian
Posts: 2894
Joined: Tue May 17, 2005 4:01 pm

Re: Greek letters in directory/file names

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply