jp00p/AGIMUS

Unicode Characters Don't Work in Profile Taglines

Closed this issue · 2 comments

This should be "DÄRMOK and JÅLAD" for example:

image

Looks like the /profile set_tagline command forces ascii and strips them: https://github.com/jp00p/AGIMUS/blob/main/cogs/profile.py#L322 . The DB looks to be set up with utf8mb4 and the fonts for this have support most of the latin character set as well. Any reason this needs to be so limited? Otherwise the strip_emoji util here would probably be sufficient input sanitation.

Fix should to out with the bigger profile revamp in #352