Error opening file <path> if path contains Turkish chars

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

kimi
Posts: 31
Joined: Sat Apr 23, 2011 4:52 pm

Error opening file <path> if path contains Turkish chars

Post by kimi »

Hi all,
Today i figured out a very strange issue, on my Vista Turkish OS, i installed the latest XnView Multi-Language executable from official site and chose "English" for the interface language (and what i prefer for all my programs), if i associated files with no problem, but if i try to open files containing Turkish (actually non-English) chars such as "ğ", "ş" in their paths, i get "error opening file <path>....". That's too weird coz i don't have such problem on my other Vista English box using older XnView.

What is the cause?

Note: Setting interface language to "English" did not help as expected. And restoring + re-registering images using XnView's Tools->System Integration->Associations DID NOT help. Also following these steps by running XnView as administrator also DID NOT help. It's definetely not an association problem and other viewers open these Turkish_char_having files just fine such as Windows Live Photo Gallery!. I also have the same problem on my Windows 7 Home Premium SP1 box with XnView 1.97.8 (Sep 20, 2010).!

Huh, this is new thing? I certainly DID NOT have such problem in older XnView versions such as 1.97 on various boxes (such as old 1.91version), now why is that? Completely frustrated because my friend's English Vista + XnView 1.97 runs these Turkish-char-having-file paths just fine.

Any ideas? Please help! :(
User avatar
xnview
Author of XnView
Posts: 39834
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Error opening file <path> if path contains Turkish chars

Post by xnview »

XnView doesn't support unicode, only XnViewMP
Pierre.
kimi
Posts: 31
Joined: Sat Apr 23, 2011 4:52 pm

Re: Error opening file <path> if path contains Turkish chars

Post by kimi »

xnview wrote:XnView doesn't support unicode, only XnViewMP
So, explain this:

I have XnView 1.97.8 (Sep 2010) on my another Vista PC, it works flawlessly and can open non-english filenames just fine.

And i have 2 other XP boxes which can open non-English filenames just fine. XnViewMP hasn't been on the earth since i've had no issues with XnView with my existing Turkish_char_having_filenames.

C'mon Pierre, there mustn't be such a silly reason to give up using XnView anymore. Because i can read my Turkish filenamed photos just fine, but cannot on my other Vista + 7 system, Why???
User avatar
xnview
Author of XnView
Posts: 39834
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Error opening file <path> if path contains Turkish chars

Post by xnview »

kimi wrote:C'mon Pierre, there mustn't be such a silly reason to give up using XnView anymore. Because i can read my Turkish filenamed photos just fine, but cannot on my other Vista + 7 system, Why???
Perhaps you have changed default locale for non unicode program in windows settings...
Pierre.
kimi
Posts: 31
Joined: Sat Apr 23, 2011 4:52 pm

Re: Error opening file <path> if path contains Turkish chars

Post by kimi »

Hi Pierre,
Actually i had found the solution by myself before i saw your post. Yep, i changed the locale setting to Turkish for non-Unicode programs and it worked!

Thanks for your attention, too.
kimi
Posts: 31
Joined: Sat Apr 23, 2011 4:52 pm

Re: Error opening file <path> if path contains Turkish chars

Post by kimi »

Hi, sorry for bumping very old thread, but I had similar problem on Windows 11 (English) when opening files having Turkish chars. I applied the same setting (changed locale setting to Turkish for non-Unicode programs) that was mentioned in my previous post 12 years ago, I did it through Regional Settings of Windows 11 (English) and it worked, now I can open files with Turkish chars BUT the problem is, now the file names appear to be encoded incorrectly on title bar and tabs of XnView.

I am using XnView Classic (zip), not installed.

Here is the problem with such file names, for example "dış cephe.jpg" is rendered wrong on title bar. I did not have this problem on English Windows 7 with any Turkish files, but only in Windows 11 (maybe on Window 10, too):
Image