`mb_convert_encoding` does not support `windows-1250`.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Expected behavior
The app should be able to read popular encodings.
Actual behavior
Some encodings (e.g. windows-1250 and Arabic) cause warnings/errors. Apparently that's not supported by the build-in function: https://secure.php.net/manual/de/mbstring.supported-encodings.php. However, some clients (Outlook, I suppose) use this encoding.
Mail app
Mail app version:
0.9.0
Server configuration
PHP version:
7.0
Nextcloud Version:
14 Beta 4
Ref https://sentry.io/share/issue/303496811cbc42899c531fbe51a3e37f/.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the mail app's use of mb_convert_encoding and reproduce the warnings with windows-1250 and Arabic input on the stated PHP 7.0 setup. Done means supported incoming messages can be read without encoding warnings or errors; the issue does not name a file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, internationalization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100