mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibIMAP+Mail: Implement RFC2047 message header encoding
This enables us to display email subject fields with non-ASCII characters in Mail :^)
This commit is contained in:
parent
34adf9eeae
commit
077a8058c3
7 changed files with 176 additions and 1 deletions
15
Userland/Libraries/LibIMAP/MessageHeaderEncoding.h
Normal file
15
Userland/Libraries/LibIMAP/MessageHeaderEncoding.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Valtteri Koskivuori <vkoskiv@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/ByteBuffer.h>
|
||||
|
||||
namespace IMAP {
|
||||
|
||||
ErrorOr<ByteBuffer> decode_rfc2047_encoded_words(StringView input);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue