Page 1 of 1
Creation of Empty File In Thumbnail Mode
Posted: 08 Jan 2015 13:42
by Enternal
I have an image file that has an accent on it. Whenever I switched over to thumbnail mode, XYplorer creates a new file with the same name except the character with the "invalid" accent is removed. However, the resultant file is an empty file. All you have to do is just unpack the photo I uploaded here somewhere. Switch to any thumbnail mode and you will see it create the empty file.
Re: Creation of Empty File In Thumbnail Mode
Posted: 08 Jan 2015 14:19
by klownboy
I downloaded the jpg [Kampfer.jpg - this is how it looked - cut and pasted - after download and also in WinRar] and placed it in an empty folder and then created thumbnails in 2 different sizes but did not see any unusual behavior and viewing the thumbnails was fine. A new thumbnail cache file was created for each thumbnail size as it should. Note, I did not see any accents on the down loaded file. Was it stripped somehow / somewhere?
Re: Creation of Empty File In Thumbnail Mode
Posted: 08 Jan 2015 14:56
by bdeshi
Note, I did not see any accents on the down loaded file. Was it stripped somehow / somewhere?
WinRAR (at least v5) displays and extracts with accents (Kämpfer.jpg).
However, even when it's called Kämpfer.jpg, no thumb-mutilation happens...

Re: Creation of Empty File In Thumbnail Mode
Posted: 08 Jan 2015 19:52
by Enternal
Hmm... that's odd. I had this problem for a very long time but never actually reported. I tried it with a fresh install as well and this is the file that is created:
2015-01-08 10_42_05-Desktop - XYplorer 14.80.0004 - [FRESH].png
Kämpfer.jpg is the original file and XYplorer created the Kampfer file without the accent. It's not even in correct case. Also when you retry showing it in thumbnails mode, make sure the cache for the specific location is cleared. If it's not cleared, it will work fine. It only happens when the cache file for the specific location does not exist.
Here are the details of the file.
2015-01-08 10_42_28-Desktop - XYplorer 14.80.0004 - [FRESH].png
Guess I will do some more test to find why it always happen to me.
Re: Creation of Empty File In Thumbnail Mode
Posted: 09 Jan 2015 03:13
by Enternal
So after some more testing, it seems that the issue is with my locale. It works on my other locale but the 2 computers that it has problems on has this locale:
Code: Select all
System Locale ID: 1041 (ja-JP)
Thread Locale ID: 1033 (en-US)
Default ANSI Code Page: 1252 (ANSI - Latin I)
Active Code Page: 932 (ANSI/OEM - Japanese Shift-JIS)
DBCS Code Page: Yes
I then switch to a computer that did not have this problem (locale is completely in English) and then switched the locale to the above. Interestingly on this computer with the switched locale, I can view the image in thumbnails view and it did not create the empty file. However if I preview the image in the preview tab, it creates that empty file again. Don't know why on this computer it did not do it in the thumbnails view but only when viewing the image in the preview tab.
Either way, when I'm in the locale I posted above, the preview tab shows:
Clipboard-20150108.png
In my normal all English locale, it shows the image meta data correctly. Only in this locale will it show that error.