Incorrect filename syntax executing documents with Unicode

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

Incorrect filename syntax executing documents with Unicode

Post by LigH » Tue 22 Aug, 2017 09:46

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: 4878
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 151 times

Incorrect filename syntax executing documents with Unicode

Post by DrKnS » Tue 22 Aug, 2017 11:03

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: 58
Joined: Fri 19 Mar, 2010 14:12
Has thanked: 2 times

Incorrect filename syntax executing documents with Unicode

Post by LigH » Tue 22 Aug, 2017 11:56

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: 4878
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 151 times

Incorrect filename syntax executing documents with Unicode

Post by DrKnS » Tue 22 Aug, 2017 12:10

LigH wrote:
Tue 22 Aug, 2017 11:56
I 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: 58
Joined: Fri 19 Mar, 2010 14:12
Has thanked: 2 times

Incorrect filename syntax executing documents with Unicode

Post by LigH » Wed 23 Aug, 2017 12:20

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: 4878
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 151 times

Incorrect filename syntax executing documents with Unicode

Post by DrKnS » Wed 23 Aug, 2017 13:56

Yes, replacing those with the ones from the 7-zip distribution should be safe.

LigH
Posts: 58
Joined: Fri 19 Mar, 2010 14:12
Has thanked: 2 times

Incorrect filename syntax executing documents with Unicode

Post by LigH » Tue 29 Aug, 2017 13:24

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

2useven10
Posts: 3525
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 3 times
Been thanked: 137 times

Incorrect filename syntax executing documents with Unicode

Post by 2useven10 » Tue 29 Aug, 2017 23:51

arclite updated: 7z.dll 17.01

Post Reply

Return to “Support and Troubleshooting”