[Bug] Tags with non-ascii characters cannot be resolved

Hi, I am hosting Gancio in turkish; the handling of tags with non-ascii characters seems to be broken.

The tag in quest, namely Üniversite Etkinliği, contains the character Ü(U+00DC) that is sometimes used in other latin based alphabets and ğ (U+011F) which is -afaik- uniquely turkish. I found the following problems involving this tag:

  • The tag cannot be added to other events Results in a "Validation Error"
  • The tag cannot be found when accessed through /tag/{tagname}

This is the relevant log line: gancio | 2024-01-16T13:41:50.445Z debug: GET /api/tag/%C3%9Cniversite%20Etkinli%C4%9Fi