aboutsummaryrefslogtreecommitdiffstats
path: root/src/parameter.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2006-11-08 18:33:18 +0000
committerVincent Richard <[email protected]>2006-11-08 18:33:18 +0000
commitf99fc84915e4bcd2750b7fadfb24f858ccc7e5ef (patch)
treeb3c8fa78d8b145ff04aca8b17a4a74dbc348cd15 /src/parameter.cpp
parentFixed compilation problem with GCC 3.3. (diff)
downloadvmime-f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef.tar.gz
vmime-f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef.zip
Imbue classic 'C' locale for the output of message parts and protocol commands.
Diffstat (limited to 'src/parameter.cpp')
-rw-r--r--src/parameter.cpp2
1 files changed, 2 insertions, 0 deletions
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 <valueChunk>& chunks)
bool foundCharsetChunk = false;
charset ch(charsets::US_ASCII);
+
std::ostringstream value;
+ value.imbue(std::locale::classic());
for (std::vector <valueChunk>::size_type i = 0 ; i < chunks.size() ; ++i)
{