diff options
author | Vincent Richard <[email protected]> | 2006-11-08 18:33:18 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2006-11-08 18:33:18 +0000 |
commit | f99fc84915e4bcd2750b7fadfb24f858ccc7e5ef (patch) | |
tree | b3c8fa78d8b145ff04aca8b17a4a74dbc348cd15 /src/parameter.cpp | |
parent | Fixed compilation problem with GCC 3.3. (diff) | |
download | vmime-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.cpp | 2 |
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) { |