Maybe I'm just being lazy though.
There probably is, but IMHO there shouldn't. An encode should encode and nothing else, no sanitizing, no stripping, no fiddling with encoding.
One tool for one thing. Simple input, simple output. Combine them as alias or function or method or whatever your language likes it to be called.
There probably is, but IMHO there shouldn't. An encode should encode and nothing else, no sanitizing, no stripping, no fiddling with encoding.
One tool for one thing. Simple input, simple output. Combine them as alias or function or method or whatever your language likes it to be called.
Decode is what I meant to say, sorry.
Decode is what I meant to say, sorry.
Isn't there an encode that automagically strips all that nonsense?