Encode link destination, decode text inside it:

. 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%2E%252Ehello .

Don't encode domains in unknown schemas:

. .