I'm working with emojis, and I choose to store: 😂
instead 😀 into the database, which works fine.
How can I reload the text in a asp:TextBox and convert 😂
into 😀 ?
In database: test 😀😁😂
In text field I need: test 😀😀😀 for edit purposes.
I think that a simple code resolve this issue like:
txtComment_Lmt.Text = Server.HtmlDecode("test 😀😁😂");
But this approach does not working, i known that emoji is related with unicode.
How can I convert emoji html entitity to something that work in edit mode on textbox?
code
lValue_Cmt += "&#" + char.ConvertToUtf32(pValue_Cmt, lIndex) + ";code