.net - Display &#8211 text with Smileys in windows phone 8.1 C# (smileys are look like &#8211.) -


i have string server contains content string html tags , smileys there.

i'm able rid of html tags this,

string get_title_with_nohtml = regex.replace(get_title, @"<[^>]+>| ", "").trim();

but smileys is. not able solution smileys while surfing much.

here windows phone screen shot: enter image description here

the smileys red square area. have tried richtextblock richtextblock hasn't text property.

i tried richtextblock example.

       var control = sender richtextblock;       if (control != null)       {       control.blocks.clear();       string value = e.newvalue.tostring();        var paragraph = new paragraph();       paragraph.inlines.add(new run {text = value});       control.blocks.add(paragraph);  } 

but result isn't exact.

how can exact smileys? possible solution? in advance!

i got solution this.

 string header_dashboard = windows.data.html.htmlutilities.converttotext(youstringswith_&#8221); 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -