Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can't able to retrive the string from url

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Sir,
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="वीडियो, निश�ल�क, सामान�य, खोजें, ढूंढें, तलाशें, देखें, ज�ड़ें, शेयर करें, शेयर करना, अपलोड करें, मनोरंजन">



instead of

<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

 
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Closing as a duplicate of this question.
    Bookmark Topic Watch Topic
  • New Topic