Merge field displays Symbol as Alt Code

Hello,

When using Aspose.Words to process a Merge field within a Word document (which specifically merges in a number of registered trademark symbols), the merged document displays the Alt Codes (®) instead of the Symbols (®). I’ve attached the original and merged documents (converted to pdf) for reference.

Original.pdf (42.6 KB)
Merged.pdf (47.6 KB)

Is there any resolution to this issue?

Thank you,
Krassimir

@kmanol

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please create a standalone console application ( source code without compilation errors ) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.

@tahir.manzoor

We have discovered that the reported issue was caused by a lack of HTML decoding of the input string before it was provided to the MailMerge.Execute method.

Thank you very much for your support!

Best regards,
Krassimir

@kmanol

Thanks for your feedback. It is nice to hear from you that your problem has been solved. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.