Defaults to local charset when assigning word from raw string.
This commit is contained in:
parent
e65b3e0f55
commit
43f78c2e96
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user