Page 1 of 1

Incorrect filename syntax executing documents with Unicode

Posted: Tue 22 Aug, 2017 09:46
by LigH
When I have document files (e.g. videos) containing Unicode characters in their filename (Asian symbols, emoticons, anything substituted with an "unprintable char" placeholder rectangle in the file panel), and I want to execute them with their assigned application, FAR 3.x usually displays an error message that the syntax of the filename is incorrect, before successfully opening the file in the assigned application.

I wonder if that message is caused by the base application of Far Manager, or rather by a plugin trying to analyze this file (e.g. whether it is an archive).

I found several other threads with this detail, but all in Russian, so I am not sure if the same or a different circumstance was mentioned there...

Incorrect filename syntax executing documents with Unicode

Posted: Tue 22 Aug, 2017 11:03
by DrKnS
Could you provide more details please?
- Have you tried to run Far without plugins (far /p)?
- What exactly the error message says?
- How exactly the file name looks like?
- What application are you trying to start?
- ...

Incorrect filename syntax executing documents with Unicode

Posted: Tue 22 Aug, 2017 11:56
by LigH
Without plugins, there is no error message before MPC-HC is called to open the video. So it's indeed possible that one of the plugins causes it. I would guess the 7-zip plugin, as it tries to check any document for possibly being an archive.

The message is the same as reported in different other posts (just in German here, as I am running a German Windows 7): "The filename, directory name, or volume label syntax is incorrect." – so I will test more and exclude one plugin after another, and when found, contact their author.

I have filenames with Chinese/Japanese/Korean letters, with hearts, snowflakes, skull&bones symbols :skull: ...

Incorrect filename syntax executing documents with Unicode

Posted: Tue 22 Aug, 2017 12:10
by DrKnS
LigH wrote: Tue 22 Aug, 2017 11:56I would guess the 7-zip plugin
If you mean the original plugin from 7-zip.org - we do not recommend using it with Far 3 as it is a legacy plugin for Far 1.7x and it cannot handle unicode names.
Far 3 comes with arclite plugin which can do everything 7-zip does and does not have its limitations.

Incorrect filename syntax executing documents with Unicode

Posted: Wed 23 Aug, 2017 12:20
by LigH
OK, so I will rely on ArcLite in the future.

And in case 7-zip gets updated ... is it usually safe to replace DLL and SFX files, or shall I prefer updates from the Far team?

Not that 7-zip updates would happen frequently ... :popcorn:

Incorrect filename syntax executing documents with Unicode

Posted: Wed 23 Aug, 2017 13:56
by DrKnS
Yes, replacing those with the ones from the 7-zip distribution should be safe.

Incorrect filename syntax executing documents with Unicode

Posted: Tue 29 Aug, 2017 13:24
by LigH
LigH wrote: Wed 23 Aug, 2017 12:20Not that 7-zip updates would happen frequently ... :popcorn:
But today, v17.01 just got released. :Bravo:

Incorrect filename syntax executing documents with Unicode

Posted: Tue 29 Aug, 2017 23:51
by 2useven10
arclite updated: 7z.dll 17.01