posted 14 years ago
Sir,
I have used following code to read a file on web and write it on my computer ,but the text present on the web page is not the same after saved on the computer,
i can't able to find out the cause ,I think the text file uses ANSI format and the web page uses UNICODE or UTF-8 format ,is this the cause why I am geting dfferent out put or any other cause is there,
I wnt to read and save the content the format it has,
if the file is in ANSI then the file should saved in ANSI format
If the file is in other then it should be saved in that format,,
kindly tell me how to get this..
bellow the code i have used but can't able to read and write in actual format
i am getting a file name content_save.txt but in that file the title of the web page and other thing are not same as actual page