-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
render punycode domain names as unicode #39
Comments
I'm not sure if it's a good idea. Mentions use the punicode domain, right? If a@b looks at the profile of c@d and wants to mention c@d in a post, a needs to encode d first. |
i don't know how tootik receives the message via federation, but in mastodon, everything is done in unicode, not punycode, by the user. i. e. in order to mention someone, unicode domain name is used in mastodon. also on mastodon when you see the user@domain somewhere, you see it rendered with unicode, no punycode presented to the user. |
I see, there's some JavaScript magic going on that replaces the punycode representation you're using to @mention someone with the Unicode representation. Need to think about this, because this behavior can't be translated to Gemini 1:1. |
can you render punycode domain names as unicode?
let's say here gemini://hd.206267.xyz/outbox/688041bb1d1eeccf2fd4705b5859a1a6557a6f313713240dfda5630f70a6fde3
or maybe even mentioned users gemini://hd.206267.xyz/view/78ebe1c4622578a946d753b46279b2f4dd1e8eb2eda5ae435a06e3236d2bd640
The text was updated successfully, but these errors were encountered: