Skip to content

Improve encoding detection#9

Merged
kgruiz merged 1 commit intodevfrom
codex/modify-readtextfile-encoding-handling
May 20, 2025
Merged

Improve encoding detection#9
kgruiz merged 1 commit intodevfrom
codex/modify-readtextfile-encoding-handling

Conversation

@kgruiz
Copy link
Owner

@kgruiz kgruiz commented May 20, 2025

Summary

  • tweak ReadTextFile to try chardet encoding first then fall back to common encodings
  • remove unused numpy import from tests
  • add a Windows‑1252 test file and exercise ReadTextFile against it

Testing

  • ruff check .
  • PYTHONPATH=. python Tests/Runner.py (fails: ModuleNotFoundError: No module named 'chardet')

@kgruiz kgruiz merged commit 26a04a3 into dev May 20, 2025
@kgruiz kgruiz deleted the codex/modify-readtextfile-encoding-handling branch May 20, 2025 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant