Click to See Complete Forum and Search --> : Special Characters While Generating a word Document from an ASP Page.


rajender.kumar
September 19th, 2005, 03:35 AM
Hi

I am generating a word document from an ASP page using the

Response.ContentType = "application/msword; charset=windows-1252"
Response.AddHeader("Content-disposition", "inline; filename=XYZ.doc")

but it inserts special characters to the generated file i.e.

• You come to the doctor’s office complaining of chest pains.

I tried changing the Charset to 'utf-8' also but it didn't work. How can i resolve this problem ?

Thanks
Rajender Kr.