This will be addressed when this is merged
https://github.com/discourse/discourse-activity-pub/pull/75
Usernames that won’t work in the Fediverse (i.e. non ASCII) will be automatically converted into a compliant variant of their username, for the User’s Actor’s username (their Discourse username will remain untouched). I will also probably be adding the ability for users to change their ActivityPub username (so you’re not just stuck with a automatically converted ActivityPub username if your Discourse username is non ASCII).