Skip to content

📒 feat: Support CSV loading for non-UTF-8 files #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2025

Conversation

danny-avila
Copy link
Owner

  • Added function to determine file encoding based on BOM markers.
  • Introduced function to remove temporary UTF-8 files created during encoding conversion.
  • Updated CSV loading logic to handle non-UTF-8 encodings by creating temporary UTF-8 files for processing.
  • Integrated cleanup functionality in embedding routes to ensure temporary files are removed after processing.

Closes #168

- Added  function to determine file encoding based on BOM markers.
- Introduced  function to remove temporary UTF-8 files created during encoding conversion.
- Updated CSV loading logic to handle non-UTF-8 encodings by creating temporary UTF-8 files for processing.
- Integrated cleanup functionality in embedding routes to ensure temporary files are removed after processing.
@danny-avila danny-avila merged commit aa5d89f into main Jul 5, 2025
1 check passed
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.

[Bug]: Files with charset UTF-16 can't be uploaded for "file search"
1 participant