0.97.1-win10: description does not work for UTF files/directories

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
xephu
Posts: 19
Joined: Thu Sep 12, 2013 7:28 pm

0.97.1-win10: description does not work for UTF files/directories

Post by xephu »

Hello, when I write a description for a directory or file, the special characters, such as Japanese characters, are only converted to question marks. This way, all these comments are not shown when reopening. The file descript.ion is still saved in UTF-8.

Browser - Metadata - Encoding - Comment is also set to UTF-8.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.97.1-win10: description does not work for UTF files/directories

Post by xnview »

xephu wrote: Sun Oct 25, 2020 8:15 am Browser - Metadata - Encoding - Comment is also set to UTF-8.
This setting is for embedded comment.
By default, if descript.ion doesn't exist, ansi is used. You can force UTF8 by editing

Code: Select all

useUtf8ForDescription=true
from xnview.ini
Pierre.
xephu
Posts: 19
Joined: Thu Sep 12, 2013 7:28 pm

Re: 0.97.1-win10: description does not work for UTF files/directories

Post by xephu »

Thank you. That works. But existing description.ion files have to be removed or changed to UTF8-BOM. Else it wont work.
Post Reply