Handling of pathnames w/ special chars in batch processing

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Handling of pathnames w/ special chars in batch processing

Post by XnTriq »

Web browsers like Firefox percent-encode blank spaces in filenames.
If you download test archive.zip, it will be saved as test%20archive.zip locally.
7zip, WinZip, WinRAR et al. usually extract such an archive to a folder named test%20archive.

Let's say our ZIP file contains a couple of photos which we would like to convert.
In order to reproduce the bug, Use original path (as output) in Tools » Batch Processing... » General » Output has to be activated.

Expected result:
  • X:\test%20archive\001.jpg » X:\test%20archive\001.png
    X:\test%20archive\002.jpg » X:\test%20archive\002.png
    X:\test%20archive\003.jpg » X:\test%20archive\003.png
Actual result:
  • X:\test%20archive\001.jpg » X:\test001archive.png
    X:\test%20archive\002.jpg » X:\test002archive.png
    X:\test%20archive\003.jpg » X:\test003archive.png
Post Reply