-rw-r--r-- | noncore/apps/odict/dingwidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/odict/dingwidget.cpp b/noncore/apps/odict/dingwidget.cpp index ef36ee5..3eb1e45 100644 --- a/noncore/apps/odict/dingwidget.cpp +++ b/noncore/apps/odict/dingwidget.cpp | |||
@@ -39,6 +39,7 @@ void DingWidget::loadDict( QString name ) | |||
39 | if( file.open( IO_ReadOnly ) ) | 39 | if( file.open( IO_ReadOnly ) ) |
40 | { | 40 | { |
41 | QTextStream stream( &file ); | 41 | QTextStream stream( &file ); |
42 | stream.setEncoding(QTextStream::UnicodeUTF8); | ||
42 | while ( !stream.eof() ) | 43 | while ( !stream.eof() ) |
43 | { | 44 | { |
44 | lines.append( stream.readLine() ); | 45 | lines.append( stream.readLine() ); |