In my question I wanted to link to


and it didn't work. Note that the link as displayed here


ends before the apostrophe. Note that the apostrophe is not \u0027 so I can't replace it with %27. I don't know how to escape unicode in URLs in general, and I don't think I should have to. Markdown works normally very well, so it should be able to handle this, too, shouldn't it?

| |

As a workaround, consider using a URL shortener such as bit.ly

| |
  • Aren't there legal/censoring issues with libyan domain names? – Daniel Beck Jan 26 '11 at 16:23
  • None that I am aware of @DanielBeck – Sathyajith Bhat Jan 26 '11 at 16:44
  • I checked -- it was a URL shortening service that specifically allowed linking to NSFW content. This likely won't be an issue on SuperUser. – Daniel Beck Jan 26 '11 at 16:54
  • I would not use an URL shortener in this trivial case.. if it's a Wolfram Alpha crazy ass URL then maybe, but not for a single ' – Jeff Atwood Jan 27 '11 at 12:24
  • Actually, the bit shortener is the only universal solution, that's why I accept this answer. The other is nicer and solves my problem as well, I know. But I'm not going to search for a different solution in case somebody makes a URL "fancy" in another way. – maaartinus Jan 31 '11 at 6:17

If you still wonder how to do it... This one works!

It uses: %E2%80%99

Tool used: Meyer Web - Eric - Tools - URL Decoder/Encoder

See also: Unicode Character 'RIGHT SINGLE QUOTATION MARK' (U+2019)

| |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .