2

I've been having trouble with this lately. Can someone tell me what's wrong with my URL syntax in my answer to this question:

Programming Technique: How to create a simple card game

I've tried:

[Knuth-Fisher-Yates shuffle algorithm][1]

[1]: http://en.wikipedia.org/wiki/Fisher–Yates_shuffle

Even this is not working

<http://en.wikipedia.org/wiki/Fisher–Yates_shuffle>

What's wrong with this?

1

3 Answers 3

5

Because there is Unicode DASH 8211 (\u2013) in the url, which should be url encoded.

You may use normal hyphen or

http://en.wikipedia.org/wiki/Fisher%e2%80%93Yates_shuffle

Knuth-Fisher-Yates shuffle algorithm

1
  • First correct answer gets accepted. I did not notice the - had a little extra width on it :)
    – macek
    Apr 16, 2010 at 14:44
4

The em slash ()is the problem:

http://en.wikipedia.org/wiki/Fisher–Yates_shuffle

Use a simple n slash (the normal one -):

http://en.wikipedia.org/wiki/Fisher-Yates_shuffle

Wikipedia is smart enough to work with that replacement.

Already fixed it on the post.

0
2

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

You must log in to answer this question.

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