Treat empty encoding as default '7-bit' (Zarafa).
This commit is contained in:
parent
30f0825877
commit
689f99f7a6
@ -57,6 +57,9 @@ void encoding::parse(const string& buffer, const string::size_type position,
|
|||||||
(utility::stringUtils::unquote(utility::stringUtils::trim
|
(utility::stringUtils::unquote(utility::stringUtils::trim
|
||||||
(string(buffer.begin() + position, buffer.begin() + end)))));
|
(string(buffer.begin() + position, buffer.begin() + end)))));
|
||||||
|
|
||||||
|
if (m_name.empty())
|
||||||
|
m_name = encodingTypes::SEVEN_BIT; // assume default "7-bit"
|
||||||
|
|
||||||
setParsedBounds(position, end);
|
setParsedBounds(position, end);
|
||||||
|
|
||||||
if (newPosition)
|
if (newPosition)
|
||||||
|
Loading…
Reference in New Issue
Block a user