I want to fetch the content of a Persian website. I tried
URLFetch["http://www.tsetmc.com/"]
Why is Mathematica unable to recode the characters in the results retuned? Why do they look strange? The problem is not a matter of the language because, for some Persian websites, the function works. But what goes wrong when I access this particular website?
Here is an extract from the data URLFetch retuned
:\.18ìî?'û \.0fήøoí]Ùim/*¯^ï\é\[CenterDot]º îô \
\.16û\[CenterDot]ÂÞ¥?Þhî\.04í \[RawEscape]kíîfûB¿»Óܣ͸ÿy?¾\
\[Paragraph]ظq©ñ\.b3þ¥3Ø©¦u5X®këívðoÿ \.06¯ýd-ýD/7køfðó_ü \
\.02¦û+nÜë/.éþ&ênÇÅ zq!
\.16ú½ø \.06[Ù{+íns# Þ½í/ÿ[m~çg\.0b?½\.b4ð\.b3Þðj\.b3ÝÝ»½¸\.b3\
\[PlusMinus]¿\[CenterDot]t¦¿\.06/ðâv\[CenterDot]Ó/Æ_âx\.16û¿íGí¸\.b3\
http://www.tsetmc.com/Loader.aspxParTree=151311&i=22811176775480091There should be a way to find all the elements of the page! – Morry Jul 26 '13 at 20:50http://www.tsetmc.com/Loader.aspx?ParTree=151311&i=22560050433388046Then the table at the right middle of the page, with light blue header, is not in Mathematica input!! Just simply search for one of the numbers of the table in Mathematica input.
– Morry Jul 29 '13 at 10:23URLFetchfunction rather thanURLSave? It's because when you are using a CDF file it is not possible to write files on the client's computer! – Morry Aug 04 '13 at 13:06