Problem with the Data
Posted on 2011-09-11
Hi, I have the data coming from the database, and that data has the all kinds of special characters, My data is going back to the Page through JSON, I am using the JSStringFormat but still that is failing somewhere!
"#jsStringFormat(ReReplace(myString, '[\r\n\t"]+', '', 'ALL'))#"
if it encounter single quote, it will wreck the JSON! and also how i do use the above rerplace to skip the double quotes and single quotes and replace with some other character or something should be done like htmleditformat so it should not the break the data
I Just tested with single quotes and it breaked, but i do not know if this will break on any other characters.
Please guide me Thanks