Defaults to local charset when assigning word from raw string.

This commit is contained in:
Vincent Richard 2013-02-25 13:03:58 +01:00
parent e65b3e0f55
commit 43f78c2e96

View File

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