aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/word.cpp1
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);
}