mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:27:36 +00:00
LibIMAP: Add quoted printable decoder
This is a very common encoding for e-mail. Gmail seems to encode all HTML e-mail in it. imap qp clang
This commit is contained in:
parent
cc0914ae58
commit
c63913b633
3 changed files with 107 additions and 1 deletions
15
Userland/Libraries/LibIMAP/QuotedPrintable.h
Normal file
15
Userland/Libraries/LibIMAP/QuotedPrintable.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/ByteBuffer.h>
|
||||
|
||||
namespace IMAP {
|
||||
|
||||
ByteBuffer decode_quoted_printable(StringView const&);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue