in reply to LWP::Simple::get($url) does not work for some urls

Hmm. Did you try the same using LWP::UserAgent? I think that may fix the problem.

Is there a specific reason you need to use Simple?

Update: After a quick test,

use LWP::UserAgent; my $ua = LWP::UserAgent->new(); my $req = new HTTP::Request GET => 'http://en.wikipedia.org/wiki/Hotel +'; my $res = $ua->request($req); my $content = $res->content; #---------------------- print "$content\n"; #----------------------

Seems to work fine.