PDA

View Full Version : ASP: Replacing non SGML characters


Johan
10-31-2004, 06:29 AM
Sorry posted in wrong place! this could be a ASP / HTML or Word solution.

My site has a CMS (custom built in VBScript/ASP) and this allows editors to copy and paste HTML compatible text directly from a MS Word that contains non SGML characters. What’s the best way or quick fix to prevent this?

eg: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.futuremovies.co.uk%2Ffriendly_review.asp%3Fmovie%3D117

Personally I don’t care much for HTML validation however I want to be able to prove to my employers that I can comply.

eRad
11-01-2004, 11:21 AM
looks like you already took care of it =)

Johan
11-01-2004, 11:49 AM
I could have done a ASP replace on the characters but instead I simply changed the characte set to windows-1252.