Home » c# » c# – News Feed icon is not appearing using juicer Api-Exceptionshub

c# – News Feed icon is not appearing using juicer Api-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

I have this text to get from juicer api <p>test message ✈️</p> when save this text in sql database so icon in this text is replace to ?? double question mark i dont know why how can i fixed this issue, because i want to display this text with in my application news feed area.
Pleae help me how can i fixed this issue.

enter image description here

How to&Answers:

@PrateekShrivastava MSSQL message column type is text

Please check: https://docs.microsoft.com/en-us/sql/t-sql/data-types/ntext-text-and-image-transact-sql?view=sql-server-ver15

text
Variable-length non-Unicode data in the code page of the server and with a maximum string length of 2^31-1 (2,147,483,647). When the server code page uses double-byte characters, the storage is still 2,147,483,647 bytes. Depending on the character string, the storage size may be less than 2,147,483,647 bytes.

Change column to nvarchar(MAX) or ntext