top icon indicating copy to clipboard operation
top copied to clipboard

URIs with Arabic/Farsi script not properly handled when tweeting

Open agharbeia opened this issue 8 years ago • 0 comments

The article-name part of the URI is not considered by twitter (and at least one client I use) to be part of the URI and s left out from being shortened and/or linkified. See for example: https://twitter.com/aGharbeia/status/887387352980746241 and https://twitter.com/aGharbeia/status/887388263371210753

Maybe it's better to shorten URLs by the application before composing the tweet, which should also help in assessing the length of the tweet since shortened URI have a fixed size. Or URLEncode them before submitting to Twitter.

Or even better: change the pattern of the local link / element id to an all-Latin identifier.

agharbeia avatar Jul 18 '17 19:07 agharbeia