Skip to content

Commit

Permalink
Special call for _wfopen in OW
Browse files Browse the repository at this point in the history
  • Loading branch information
plzombie committed Sep 21, 2021
1 parent 6bc92e9 commit d514e44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/depress.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,11 @@ bool depressCreateTasks(wchar_t *textfile, wchar_t *textfilepath, wchar_t *outpu
*tasks_out = 0;
*tasks_num_out = 0;

#ifdef _MSC_VER
f = _wfopen(textfile, L"rt, ccs=UTF-8");
#else
f = _wfopen(textfile, L"rt");
#endif
if(!f) return false;

while(1) {
Expand Down

0 comments on commit d514e44

Please sign in to comment.