CMS using java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    CMS using java

    Two three days earlier i tested a code, single and double inverted comma represented differently in MS word and Notepad; actually what happened, i was writing something on MS word and finally put it in a TEXTAREA then i trying to save the data into database and so as a result some invalid characters getting saved instead of single and double inverted comma. If i wrte it in TEXTAREA directly then it won't happen. So what i did, take the character from MS word and replace those characters with original one ..but i am not aware of all characters which many behave like this.
    Here is the code in JavaScript...
    Code:
    val.replace(/[‘’]/g,"'").replace(/“”/g,'"');
    Then i come to know there is tool called CMS...so i can't find out the proper way to do it using CMS tool in java. If please could anyone suggest any idea?

    Debasis
Working...