From 43f78c2e96fa23d6d2d3c657af9513de3b2031e5 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 25 Feb 2013 13:03:58 +0100 Subject: [PATCH] Defaults to local charset when assigning word from raw string. --- src/word.cpp | 1 + 1 file changed, 1 insertion(+) 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); }