kaspiana / mage

A command-line tool for cataloguing images (particularly digital art), styled after Git.
0 stars 0 forks source link

Non-ASCII characters displaying incorrectly #43

Closed kaspiana closed 3 months ago

kaspiana commented 3 months ago

If a document contains non-ASCII characters in its file name or comment, they are displayed as question marks when using the tool, even though they are saved correctly in the database.

e.g. after ingestion of the file фэндомы-3509757.gif:

> mage doc in/18
document ****************************************
  Archive ID: /19
  File name: ???????-3509757
  Extension: gif
  Ingest timestamp: 5/23/2024 5:14:20 PM
  Comment: <none>
  Deleted: no
  Tags: