gvollant/smartversion

SmartVersion 3.82 can't open SVF files in Unicode path names

Opened this issue · 1 comments

I'm using the latest SmartVersion on Windows 11 Version 21H2 Build 22000.795:

image

If I double-click a file named D:\SVF-образы\out.svf in Windows Explorer, or call smartvs.exe D:\SVF-образы\out.svf from a command prompt, then I get this error dialog:

image

The same thing happens if the containing folder is renamed to D:\SVF-图片\out.svf:

image

SmartVersion behaves correctly if invoked from the shell if the entire path is latin characters like D:\SVF-Images\out.svf

SMV.EXE behaves also correctly if invoked from a command prompt:

C:\Program Files\SmartVersion>smv.exe l D:\SVF-图片\out.svf
Smartversion 3.82 (c) 2002-2021 G. Vollant - http://www.smartversion.com/ - 64 bits

Version number 0, type Reference and Checksum of files: 
[snip]

Expected behavior is that SMARTVS.EXE can open associated files from the shell that have wide or non-latin characters in the path name.

@gvollant: Have you seen this ticket?