Write Hindi Text in Word Document using Arial Unicode Font & Save to DOC DOCX Format in C# .NET

Hi Support,

When trying to append unicode text and set font name to Arial Unicode MS, some characters are not properly preserved as expected

Run run = new Run(doc);
run.Text = "महत्त्‍वपूर्ण विस्‍तारपूर्व गोष्‍ठी हैं:";
run.Font.Name = "Arial Unicode MS";
para.AppendChild(run);

doc.Save("sample.docx")

Is this an issue with the component?. Please get back ASAP.

Regards,
Pravinj.

Hello

Thanks for your request. I cannot reproduce the problem on my side using the latest version of Aspose.Words (9.5.0).
You can download the latest version from here:
https://releases.aspose.com/words/net
I use the following code for testing:

// Open Document
var doc = new Document();
Run run = new Run(doc);
run.Text = "महत्त्‍वपूर्ण विस्‍तारपूर्व गोष्‍ठी हैं:";
run.Font.Name = "Arial Unicode MS";
doc.FirstSection.Body.FirstParagraph.AppendChild(run);
doc.Save("out.doc");

Best regards,