Page 1 of 1

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

Posted: Sun Oct 25, 2020 8:15 am
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.

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

Posted: Thu Oct 29, 2020 2:14 pm
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

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

Posted: Thu Oct 29, 2020 8:35 pm
by xephu
Thank you. That works. But existing description.ion files have to be removed or changed to UTF8-BOM. Else it wont work.