We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Single quote is converted to question mark when JsonDataSource is used with Aspose.Words for .NET

For example, the Json is this
var jsonPayload = “{'Name': 'ABC'}”;

Normal single quote is '
This curly single quote is

Word template is
Name: <<[Name]>>

The output in Word is
Name: AB?C

Thanks for any help in advance.



We have logged this problem in our issue tracking system as WORDSNET-20668 . You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi @tahir.manzoor
We just found the degree symbol is NOT working either.

such as this
var jsonPayload = "{'Name': 'AB’CD°E'}";

Hi @tahir.manzoor
sorry, I just found it is my code issue.
I was using ASCII encoding.
It should be UTF8 encoding.

After updated the code, both symbols are working fine.



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