Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Decode quoted-printable-encoded text

View decodeQuotedPrintable.js
1 2 3 4 5 6 7 8 9
function decodeQuotedPrintable(input){
return input.replace(/=(\n|[0-F]{2})/g, function(match, charCode){
if (charCode === '\n') {
return '';
} else {
return String.fromCharCode(parseInt(charCode, 16));
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.