Checked if characters are valid hex instead of trying to catch the exception (which is invalid). Bonus: applied same refactoring to quoted_printable_decode
Merge