Recently I'm dealing with a issue with open Thai named file in folder in development. Usually we do this by:
Java: ProcessBuilder with "explorer /n,/select,/folder/อักษรไทย.jpg"
Windows C API: ShellExecuteW with L"explorer" L"open" L"/n,/select,/folder/อักษรไทย.jpg"
They all work for WinXP system, but failed for Windows Vista and Windows 7.
And the weird thing is, when I removed the combining char from the filename, they all work fine: from อักษรไทย to อกษรไทย.
I've also tried other UTF8 languages like Chinese and Japanese which are both have no combining characters in their char sets.
Also, the Java awt function `Desktop.open(File) works fine for opening such folders or files with combining Thai characters, but unfortunately, I've not found function like that can select a file in folder.
Do you have any ideas about the difference?