Skip to content

Comments

Better encoding detection and conversion#95

Merged
jankapunkt merged 2 commits intomainfrom
94-encoding-broken-for-uploaded-files
Feb 27, 2025
Merged

Better encoding detection and conversion#95
jankapunkt merged 2 commits intomainfrom
94-encoding-broken-for-uploaded-files

Conversation

@alessandrobelli
Copy link
Contributor

Fixes #94 removing mb_convert_encoding since it is unreliable with txt files with special characters.

Tested with chinese - danish - emoji characters.

Alessandro Belli added 2 commits February 26, 2025 09:23
- removed mb_detect_encoding as it is not reliable to detect particular encoding with special characters, using iconv instead.
- tested positively with danish, chinese and emoji characters
@alessandrobelli alessandrobelli linked an issue Feb 26, 2025 that may be closed by this pull request
@jankapunkt jankapunkt merged commit 046ad16 into main Feb 27, 2025
3 of 4 checks 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.

Encoding broken for uploaded files

2 participants