Open folders with non-ASCII-characters ??

Nodanoma's icon

Hey all,

Max throws an error (-43) when attempting to open folders or files with non-ASCII-characters in the filename. For a big database which has to support foldernames containing any kind of character I am in need for a method that supports this. Has anyone got a good idea on how to bypass this limitation? If someone is inclined to sugest node.script I would be happy if they shared the according code since I am not familiar with its syntax. JS would be fine but I believe it would only work via the native Max class, which throws the same error, of course.

Only regular ASCII-characters in foldername are supported by '; max launchbrowser'

here's the example patch with non-ASCII folders:

open_folders.zip
zip

Any help would be greatly appreciated!
Thanks.

Source Audio's icon

On Mac this should work.

You just need to download shell external.

Nodanoma's icon

Yes, v cool, thanks!
Hadn't thought of shell.
This seems to work reliably with the above examples.

I understand that this is not compatible with windows, however?

Best, Tim

Source Audio's icon

No, it means only that I used it on Mac.

Do you want me to check on windows ?

I use only win 10, not 11...

by the way it is not only dealing with chars, also openning folders is different on windows.

Nodanoma's icon

Oh yes please, that would be very valuable indeed.

Thank you for the offer; if you find a simple solution that works, it would be great if you could share it here so I can implement it for windows too. Do you happen to know by any chance whether Jasch's filesystem operations package is meanwhile available for windows? or something similar? I use it a lot, also because it provides binary feedback on operation success, unlike shell.

Thanks!