Skip to content

fix: update file opening encoding to utf-8-sig to handle files with BOM#112

Merged
zachary62 merged 1 commit intoThe-Pocket:mainfrom
rossdonald:utf-bom-handling
May 16, 2025
Merged

fix: update file opening encoding to utf-8-sig to handle files with BOM#112
zachary62 merged 1 commit intoThe-Pocket:mainfrom
rossdonald:utf-bom-handling

Conversation

@rossdonald
Copy link
Copy Markdown
Contributor

Fixes: #108

  • Use utf-8-sig to handle files with BOM
  • utf-8 for all logging and cache file to handle prompts with unicode characters

@zachary62
Copy link
Copy Markdown
Member

Thank you!!

@zachary62 zachary62 merged commit 2afe6f6 into The-Pocket:main May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

utf-8 BOM causing logging error - codec can't encode character

2 participants