❔ Unescaping special characters
Working on a little SaaS thumbnail preview tool I'm gonna sell, and special characters like apostrophes ( ' ) are getting escaped when I grab stuff from the YouTube API.
How do I unescape these? I can't find anything online
10 Replies
HttpUtility.HtmlDecode(string s), I believe
Bless up that worked
glad to hear it
mtreit#6470
REPL Result: Failure
Exception: CompilationErrorException
Compile: 613.517ms | Execution: 0.000ms | React with ❌ to remove this embed.
😦
using System.Web
Yeah
mtreit#6470
REPL Result: Success
Console Output
Compile: 559.859ms | Execution: 74.312ms | React with ❌ to remove this embed.
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.