Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Storing and retrieving Textarea content

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web application, in which the content of a textarea is stored in a file on the server, and retrived
later(to display on the web page). The issue here is, when some text from a MS Word doc is copied and pasted on the textarea and if it is stored on file, it gets stored with some special html tags like "<TABLE class=MsoNormalTable "> . So later if i retrieve the content of the file and display it in any <p> tag, the special characters like "(double quotes),-(hyphen).',^,....are not recognized by the browser and gets displayed as "??"...Is there any way to avoid this or any workarounds?

Thanks in advance
Pradeep
 
Pradeep Kumar T
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much for the helpful link!
 
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic