I am using the URL class created a connection and want to read the content of the connection and want to store in the a file,
but I am not able to find the result it is encoded in some format as follow]
I have used following
I have surprised when saw the result in the contents.txt as follow
<meta name="keywords" content="à¤µà¥€à¤¡à¤¿à¤¯à¥‹, à¤¨à¤¿à¤¶à¥?à¤²à¥?à¤•, à¤¸à¤¾à¤®à¤¾à¤¨à¥?à¤¯, à¤–à¥‹à¤œà¥‡à¤‚, à¤¢à¥‚à¤‚à¤¢à¥‡à¤‚, à¤¤à¤²à¤¾à¤¶à¥‡à¤‚, à¤¦à¥‡à¤–à¥‡à¤‚, à¤œà¥?à¤¡à¤¼à¥‡à¤‚, à¤¶à¥‡à¤¯à¤° à¤•à¤°à¥‡à¤‚, à¤¶à¥‡à¤¯à¤° à¤•à¤°à¤¨à¤¾, à¤…à¤ªà¤²à¥‹à¤¡ à¤•à¤°à¥‡à¤‚, à¤®à¤¨à¥‹à¤°à¤‚à¤œà¤¨">
<meta name="keywords" content="worst, twist, twists, endings, ever, 6th, sixth, sense, signs, village, M., Night, Shyamalan, smosh, anthony, padilla, ian, hecox, pit, WHY, ARE, YOU, READIN...">
Like above other contents are also encrypted I am not able to find any solution to get the right content to my file...
why this happening sir can you give any suggestion sir
Kindly give me any suggestion sir
<meta name="description" content="Welcome to Yahoo!, the world's most visited home page. Quickly find what you're searching for, get in touch with friends and stay in-the-know with the latest news and information.">
<meta name="keywords" content="yahoo, yahoo uk, yahoo home page, yahoo homepage,yahoo search, yahoo mail, yahoo messenger, news, finance, sport, entertainment,games">
Im guess your problem is probably a charset issue. How are you viewing the contents.txt file?