summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2024-03-03 15:12:45 +0100
committerAldrik Ramaekers <aldrikboy@gmail.com>2024-03-03 15:12:45 +0100
commit1594c96a327ae418b193d19d8d6c80b89cc74430 (patch)
treeb17a5e997526e48115c2f511bfb513982a23367a /src/main.cpp
parent4cf0d29a1ad11e4da4da677a3859d0844e5f8bd5 (diff)
unicode file path support
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);