Decode url before cutting

Should improve link handling for non ASCII character languages.