Render using Range.InsertFile
Hi Team,
I am using below code to insert an html file into a word document. After saving and opening the doc its showing some junk characters for some specific texts. Please see the screenshots of temp3_htm and temp_docx .
string htmlFile = @"C:\Users\admin\Desktop\Temp_3.htm";
para1.Range.InsertFile(htmlFile, System.Type.Missing, System.Type.Missing, System.Type.Missing, false);
//Save the document
object filename = @"C:\Users\admin\Desktop\temp.docx";
document.SaveAs2(ref filename);
I am seeing this issue with names start with "EN -" ("E N -") or starts with a Japanese characters.(eg. "テスト" . )
Could you please check this?