aboutsummaryrefslogtreecommitdiffstats
path: root/src/word.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/word.cpp')
-rw-r--r--src/word.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/word.cpp b/src/word.cpp
index 008745ef..b558b842 100644
--- a/src/word.cpp
+++ b/src/word.cpp
@@ -43,7 +43,7 @@ namespace vmime
word::word()
- : m_charset(charset::getLocaleCharset())
+ : m_charset(charset::getLocalCharset())
{
}
@@ -54,8 +54,8 @@ word::word(const word& w)
}
-word::word(const string& buffer) // Defaults to locale charset
- : m_buffer(buffer), m_charset(charset::getLocaleCharset())
+word::word(const string& buffer) // Defaults to local charset
+ : m_buffer(buffer), m_charset(charset::getLocalCharset())
{
}
@@ -696,7 +696,7 @@ word& word::operator=(const word& w)
word& word::operator=(const string& s)
{
m_buffer = s;
- m_charset = charset::getLocaleCharset();
+ m_charset = charset::getLocalCharset();
return (*this);
}