Encode link destination, decode text inside it: . .

http://example.com/αβγδ

. . [foo](http://example.com/α%CE%B2γ%CE%B4) .

foo

. Keep %25 as is because decoding it may break urls, #720 . .

https://www.google.com/search?q=hello.%252Ehello

. Don't encode domains in unknown schemas: . [](skype:γγγ) .

. Square brackets are allowed . [foo](https://bar]baz.org) .

foo

.