Incorrect filename syntax executing documents with Unicode

You have encountered a problem using Far Manager? Here you can get help.
Post Reply
LigH
Posts: 61
Joined: Fri 19 Mar, 2010 14:12
Has thanked: 2 times
Been thanked: 1 time

Incorrect filename syntax executing documents with Unicode

Post 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...
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Incorrect filename syntax executing documents with Unicode

Post 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?
- ...
LigH
Posts: 61
Joined: Fri 19 Mar, 2010 14:12
Has thanked: 2 times
Been thanked: 1 time

Incorrect filename syntax executing documents with Unicode

Post 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: ...
Last edited by LigH on Tue 22 Aug, 2017 11:57, edited 2 times in total.
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Incorrect filename syntax executing documents with Unicode

Post 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.
LigH
Posts: 61
Joined: Fri 19 Mar, 2010 14:12
Has thanked: 2 times
Been thanked: 1 time

Incorrect filename syntax executing documents with Unicode

Post 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:
User avatar
DrKnS
Posts: 6114
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 12 times
Been thanked: 426 times

Incorrect filename syntax executing documents with Unicode

Post by DrKnS »

Yes, replacing those with the ones from the 7-zip distribution should be safe.
LigH
Posts: 61
Joined: Fri 19 Mar, 2010 14:12
Has thanked: 2 times
Been thanked: 1 time

Incorrect filename syntax executing documents with Unicode

Post 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:
2useven10
Posts: 5204
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 18 times
Been thanked: 310 times

Incorrect filename syntax executing documents with Unicode

Post by 2useven10 »

arclite updated: 7z.dll 17.01
Post Reply

Return to “Support and Troubleshooting”