I have bug

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

Moderators: XnTriq, helmut, xnview

Posts: 1
Joined: Mon May 13, 2024 1:45 am

I have bug

Post by byrongriffin »

XnView Classic: 2.51.1 - 64 bit
OS: Windows 10 64bit
candy clicker
How to Reproduce:

Create a folder containing UTF8 characters and place an image in it. (example: "C:\TEST\背\myimage.png")
Double-click on it in the Windows Explorer to open the image.
An error popup will appear. (see attachment)
Expected Behavior:
The image should open in XnView.


While XnView does not directly support UTF-8 characters in file paths, you can still access such paths within the application by using short paths.
The argument provided in "HKEY_CLASSES_ROOT\XnView.ext\shell\open\command" may contain UTF-8 characters.
An application has been developed to convert these arguments to short paths and forward them to XnView, which is available at the GitHub Repository.
Would it be feasible to support UTF-8 only for argument parsing in XnView and utilize GetShortPathNameW() to obtain the short path, similar to the provided workaround, or would this require significant effort? Thank you.
User avatar
Author of XnView
Posts: 43995
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: I have bug

Post by xnview »

Please use XnView MP to have unicode support