Warning: non-ASCII characters in keywords

3 views
Skip to first unread message

Jim Easterbrook

unread,
Feb 22, 2025, 11:12:59 AMFeb 22
to pho...@googlegroups.com
Friends,

There is a possibility of your keywords.json file (hierarchical keywords
store) getting trashed if you use non-ASCII characters in any of your
hierarchical keywords. I think this only affects Windows users whose
keywords.json file is not UTF-8 encoded. (E.g. ISO-8859-15 can't store 'ĉ'.)

The next release of Photini will cure this, but in the meantime you can
edit your site-packages/photini/keywords.py file and change line 361 from
json.dump(children, fp, ensure_ascii=False,
to
json.dump(children, fp, ensure_ascii=True,

--
Jim Easterbrook <http://www.jim-easterbrook.me.uk/>

Reply all
Reply to author
Forward
0 new messages