Decoding HTML escape sequences

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon May 12 19:09:34 PDT 2014


You should use decodeComponent instead of decode in your matchAll 
loop.

IMO encodeComponent and decodeComponent are the only two useful 
uri encode functions (btw same in JS, use decodeURIComponent 
instead of the other functions). The other ones have weird rules.


More information about the Digitalmars-d-learn mailing list