Skip to content
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

ファイルの文字コード検出処理を変更する #54

Open
sonoh5n opened this issue Oct 7, 2024 · 2 comments
Open

ファイルの文字コード検出処理を変更する #54

sonoh5n opened this issue Oct 7, 2024 · 2 comments
Assignees
Labels
🐛 bug Something isn't working 🛠️ improvement Improve features which are working 🐎 enhancement Overall performance and improvement ♻️ refactor refactoring
Milestone

Comments

@sonoh5n
Copy link
Collaborator

sonoh5n commented Oct 7, 2024

rdetoolkit/rde2util.py::CharDecEncoding.detect_text_file_encodingの処理を変更します。

@sonoh5n sonoh5n self-assigned this Oct 7, 2024
@sonoh5n sonoh5n added this to the Version 1.0.3 milestone Oct 30, 2024
@sonoh5n sonoh5n added 🐛 bug Something isn't working 🐎 enhancement Overall performance and improvement 🛠️ improvement Improve features which are working ♻️ refactor refactoring labels Oct 30, 2024
@sonoh5n
Copy link
Collaborator Author

sonoh5n commented Dec 16, 2024

chardetngを利用することで上記の問題を解決できる。ネガティブマッチング->ポジティブマッチングで検出する。

@sonoh5n
Copy link
Collaborator Author

sonoh5n commented Dec 23, 2024

ISO8859-2, Windows1252, ISO8859-2でテスト

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🛠️ improvement Improve features which are working 🐎 enhancement Overall performance and improvement ♻️ refactor refactoring
Projects
None yet
Development

No branches or pull requests

1 participant