sjackp / J_Captioneer_v2.release

A powerful image and caption browser/editor, caption generator, and bulk image resizer built with Python(PyQT5) using GPT-4.
Creative Commons Zero v1.0 Universal
18 stars 0 forks source link

Possibly text encoding error #1

Open Kepler-16b opened 1 year ago

Kepler-16b commented 1 year ago

When I open a existing dataset with txt caption files, the first two characters in every txt file are always something like: "锘縳" followed by what the rest of the captions go. I know very little about programming, but does this means the app needs UTF-8 encoding to solve this error?

sjackp commented 1 year ago

Thanks for reporting this!

I'll reply back here once I have a fix.

sjackp commented 1 year ago

Hey @Kepler-16b! I was unable to recreate the same error on my end but I added UTF-8 encoding in hopes to fix this issue, Let me know if it still persists.