getomni-ai / zerox

PDF to Markdown with vision models
https://getomni.ai/ocr-demo
MIT License
6.58k stars 358 forks source link

UnicodeEncodeError when writing data to file #103

Open rezawr opened 7 hours ago

rezawr commented 7 hours ago

We encountered a UnicodeEncodeError in our Python application when attempting to write text data to a file. This issue occurs when characters in the data cannot be encoded using the default charmap codec (likely CP1252 on Windows systems). Do you have any concern about this ?

updated: I think this just happening when i tried this on windows

rezawr commented 7 hours ago

https://github.com/getomni-ai/zerox/pull/104

I have make the PR though. hope it helps