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); }