summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index df1dfe2..0e6f396 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -140,7 +140,7 @@ static void* _ts_search_thread(void* args) {
if (read_cursor >= new_result->files.length) continue;
found_file* f = (found_file*)array_at(&new_result->files, read_cursor);
- file_content content = platform_read_file(f->path, "rb");
+ file_content content = platform_read_file(f->path, "rb, ccs=UTF-8");
_ts_search_file(f, content, new_result);