Decode String in which some escape character is there

18 views
Skip to first unread message

Anurag Mishra

unread,
May 20, 2016, 4:42:48 PM5/20/16
to nodejs
Hello All,

I am struggling to decode the string in which some escape character is present. Like this : Google’s Allo looks great — but it’s yet another messaging app I have to deal with!. Can anyone let me know how can I get the result without escaped character.

Thanks,
Anurag Mishra

Daniel Rinehart

unread,
May 23, 2016, 10:57:37 AM5/23/16
to nodejs
This looks like a library that would do the trick (caveat I've not used it):

https://github.com/mathiasbynens/he

--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/5f4287aa-07b7-4daf-93b2-8942280beccc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages