We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b21d648 commit a463854Copy full SHA for a463854
src/logdata/src/logdataworker.cpp
@@ -514,6 +514,10 @@ void IndexOperation::doIndex( LineOffset initialPosition )
514
LOG( logINFO ) << "Indexing done, took " << duration << " ms, io " << ioDuration << " ms";
515
LOG( logINFO ) << "Indexing perf " << ( 1000.f * state.file_size / duration ) / ( 1024 * 1024 )
516
<< " MiB/s";
517
+
518
+ if ( !indexing_data_.getEncodingGuess() ) {
519
+ indexing_data_.setEncodingGuess( QTextCodec::codecForLocale() );
520
+ }
521
}
522
523
// Called in the worker thread's context
0 commit comments