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/security/digest/messageDigest.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/security/digest/messageDigest.cpp')
-rw-r--r-- | src/security/digest/messageDigest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/security/digest/messageDigest.cpp b/src/security/digest/messageDigest.cpp index bba80023..4a2e8912 100644 --- a/src/security/digest/messageDigest.cpp +++ b/src/security/digest/messageDigest.cpp @@ -39,6 +39,7 @@ const string messageDigest::getHexDigest() const static const unsigned char hex[] = "0123456789abcdef"; std::ostringstream oss; + oss.imbue(std::locale::classic()); for (int i = 0 ; i < len ; ++i) { |