diff options
author | Vincent Richard <[email protected]> | 2013-02-25 12:03:58 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-02-25 12:03:58 +0000 |
commit | 43f78c2e96fa23d6d2d3c657af9513de3b2031e5 (patch) | |
tree | 1488c2e126fba0acdc35da89e042c9f1c29a7db7 | |
parent | Unit tests for wordEncoder. (diff) | |
download | vmime-43f78c2e96fa23d6d2d3c657af9513de3b2031e5.tar.gz vmime-43f78c2e96fa23d6d2d3c657af9513de3b2031e5.zip |
Defaults to local charset when assigning word from raw string.
-rw-r--r-- | src/word.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/word.cpp b/src/word.cpp index 3be9998e..008745ef 100644 --- a/src/word.cpp +++ b/src/word.cpp @@ -696,6 +696,7 @@ word& word::operator=(const word& w) word& word::operator=(const string& s) { m_buffer = s; + m_charset = charset::getLocaleCharset(); return (*this); } |