chatgpt-retrieval-plugin icon indicating copy to clipboard operation
chatgpt-retrieval-plugin copied to clipboard

Update file.py to support Windows & non-UTF-8 txt

Open mbloom0 opened this issue 2 years ago • 0 comments

updated extract_text_from_file to handle non-UTF-8 encoding in text and markdown files. updated extract_text_from_form_file to use proper temporary file handling so it works on Windows as well as on linux.

Should fix Issues #153 and #159 .

mbloom0 avatar Apr 30 '23 18:04 mbloom0