nextcloud / nextcloud/mail

`mb_convert_encoding` does not support `windows-1250`.

Open
#1,037 11 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature parity
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.