From 1594c96a327ae418b193d19d8d6c80b89cc74430 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Sun, 3 Mar 2024 15:12:45 +0100 Subject: unicode file path support --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') 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); -- cgit v1.2.3-70-g09d2