From f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Wed, 8 Nov 2006 18:33:18 +0000 Subject: Imbue classic 'C' locale for the output of message parts and protocol commands. --- src/parameter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/parameter.cpp') diff --git a/src/parameter.cpp b/src/parameter.cpp index 9ebe7273..c7c13339 100644 --- a/src/parameter.cpp +++ b/src/parameter.cpp @@ -125,7 +125,9 @@ void parameter::parse(const std::vector & chunks) bool foundCharsetChunk = false; charset ch(charsets::US_ASCII); + std::ostringstream value; + value.imbue(std::locale::classic()); for (std::vector ::size_type i = 0 ; i < chunks.size() ; ++i) { -- cgit