From 1e56a3617d43cb809be23287fd25d423a18e5917 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 17 Aug 2018 21:22:11 +0200 Subject: [PATCH] Force classic locale when formatting IMAP UIDs. --- src/vmime/net/imap/IMAPUtils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vmime/net/imap/IMAPUtils.cpp b/src/vmime/net/imap/IMAPUtils.cpp index 6124edcf..3e6b2677 100644 --- a/src/vmime/net/imap/IMAPUtils.cpp +++ b/src/vmime/net/imap/IMAPUtils.cpp @@ -694,6 +694,7 @@ public: IMAPUIDMessageSetEnumerator() : m_first(true) { + m_oss.imbue(std::locale::classic()); } void enumerateNumberMessageRange(const vmime::net::numberMessageRange& range)