in reply to download pdf from url which has unicode characters

Encode the characters using UTF-8 and url-encode the resulting bytes. URI::Escape's uri_escape_utf8 does this.

Replies are listed 'Best First'.
Re^2: download pdf from url which has unicode characters
by srikrishnan (Beadle) on Jun 12, 2015 at 12:08 UTC

    Thanks for your response

    90% your suggestion works. but still there are unwanted bytes which makes the url dead