Correct SEEK_END behavior for rc_file_seek_buffered_file. offset should be added, not substracted (the caller is supposed to send a negative offset here)
Properly open UTF-8 paths on Windows (this requires conversion from UTF-8 to UTF-16 and using _wfopen_s/_wfopen).