ow do I use perl to download a webpage's source code?

mc²

New member
hello
I posted a similar topic before where I was advised to use the LWP::Simple; module.
One problem is the source retrieved with it is very different
from the one I see with "view source" of my FireFox.
(no chance of any style thing because the length is extremely different)

also the source included some jibrish instead of the actual text like

?ƒ ?????????£???¬ ???¬?????£! ?????á?¬?ƒ ???£???ó?¥ ?????¬?ñ?? ?£?????¿ ???á?í??
?¥ ?£???¬?¿???£ ?????? ?£???á??, ?????? ?£?? ?¢?£ ?¢?? ?º?£. ???????????¬ ?í????
?? ?????á?¬?ƒ ???¬?????¿???¥. ???????? ???£ ?£???ó?¥ ???????? ???¬?á?? ???????¿?
? ?£?????¬ ?????????á??.*???ª?ñ?????? ???????£?ª?¬ ?£?????£???? 8 ?????ó?£??(?¢?

I think this might be because the source included some Hebrew characters which perl or my program (Padre) couldn't handle.

can u recommend a way to solve these 2 problems ?
(possibly by recommending another module that won't have these problems)

thx
 
Back
Top