What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

In this answer to a question, I posted a link with a special character in.

Originally it was this:

> Q: Why did the chicken cross the [Möbius strip][1]?  
> A: To get to the same side.

[1]: http://en.wikipedia.org/wiki/Möbius_strip

But the link didn't show. I have since changed it to /Mobius_strip since that URL works fine for Wikipedia, but just thought you might like to know.

Just testing to see if the link works by just posting it (edit: nope!):
http://en.wikipedia.org/wiki/Möbius_strip

share|improve this question
    
Don't use Umlaute in a URL! The Chinese Internet will break! And then they start and change all URLs to Chinese symbols! –  Ladybug Killer Sep 10 '09 at 12:02
    
teddziuba.com/2009/07/this-is-america-take-your-unic.html (note that being German, I do sympathize heavily; Ted's view is not my view...) –  balpha Sep 10 '09 at 12:04
3  
    
closing as bydesign since there is such an easy workaround (use the normal character form, which Wikipedia always supports) –  Jeff Atwood Sep 18 '09 at 1:45
1  
Wikipedia does, but many other sites may not... –  DisgruntledGoat Sep 21 '09 at 15:15
2  
@Jeff: It seems that every bug on Stack Exchange is by design. :-) –  ShreevatsaR Mar 11 '11 at 15:11

3 Answers 3

up vote 3 down vote accepted

I intend to reuse this answer over and over until this problem is fixed or the eventual heat death of the universe, whichever comes first. Just mentally replace the parts about the parens with the specific character you are having problems with:

I doubt we'll get this fixed, but you can resolve it yourself by URL encoding ( and ) as %28 and %29. Since one of these bugs gets posted every two to three days, here's a simple rule of thumb:

Any characters in your URL other than A-Z, a-z, 0-9, and /.=?-+%&* (and the : in "http:") should probably be URL encoded.

I've cobbled together a quick page that will encode the things that shouldn't need encoding. You can find it here. It doesn't use any jQuery, so it's probably completely unreliable. If you find anything it should be encoding but isn't, let me know.

share|improve this answer
    
Nice, but there's still the (fortunately more rare) problem of unicode in hostnames. –  maaartinus Jan 27 '11 at 4:30
    
the CTRL+L method of inserting hyperlinks was updated to escape a lot of the common problem characters, at least –  Jeff Atwood Mar 12 '11 at 4:50
    
@maaartinus: Hostnames are punycode-encoded (http://xn-blaahblaaaahhh/) –  Mechanical snail Sep 20 '12 at 22:21
    
@Mechanical snail: Hostnames? I've never seen a non-ASCII hostname, just the other parts. –  maaartinus Sep 20 '12 at 23:47
1  

Wikipedia supports both forms.

http://en.wikipedia.org/wiki/Mobius_strip

so use the other form.

Also note that as of recently, when entering a link via the button (or Ctrl-L), the characters will automatically be escaped.

share|improve this answer

Similar to: The Markdown editor chokes on $ characters in URLs

There, Jeff said:

we whitelist characters and every new whitelisted char is a hole for an attack

I imagine he'd say the same thing about non-ascii characters in URLs.

share|improve this answer

You must log in to answer this question.

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