Commit Graph

12 Commits (13a066b24fa3761a9e08a80685d8b76d0f544bce)

Author SHA1 Message Date
Aleksander Machniak 30610e867e Merge branch 'fix_encode' of https://github.com/shirosaki/roundcubemail into shirosaki-fix_encode
Refactor the new code
5 years ago
Aleksander Machniak 35c29be9b2 Remove use of ext-iconv 5 years ago
Aleksander Machniak 47d9ed6d0c Add support for PHPUnit 6 and 7 (#6870)
Fixes composer dependencies: Package phpunit/phpunit-mock-objects is abandoned

We cannot support v8 yet because of errors like:
Declaration of MailFunc::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
It would require dropping PHP < 7.1 support.
5 years ago
Hiroshi Shirosaki a335102e47 Fix email address name encoding with ISO-2022-JP
Convert to UTF-8 to split addresses correctly.
Base64 encode ISO-2022-JP name.
Add a unit test.
5 years ago
Hiroshi Shirosaki 869d1d1eaf Fix ISO-2022-JP-MS encoding convert
ISO-2022-JP-MS characters are removed by iconv on sending mail.
Use mbstring functions on sending.
Add a unit test.
5 years ago
Shin Kojima 0b385dc946 Skip iconv for problematic ISO-2022-JP strings (#5668)
We sometimes get broken character encodings such as:
Subject: =?iso-2022-jp?B?GyRCLWo7M3l1OSk2SBsoQgo=?=
This actually is not a strict ISO-2022-JP string, but a CP50220 string
that is a variant of ISO-2022-JP with extended characters proposed by
Microsoft. Iconv can not handle these encodings well.
8 years ago
Thomas Bruederli 7eefdc8149 Adapt charset cleanup tests to pass with different versions of iconv propucing slightyl different output 10 years ago
Thomas Bruederli 0bfc862283 Specify test groups for inclusion/exclusion 10 years ago
Aleksander Machniak f7565da34b Add some more tests for rcube_charset::clean() 10 years ago
Aleksander Machniak a5b8ef99d4 Improve charset detection by prioritizing charset according to user language (#1485669) 12 years ago
Aleksander Machniak b2e5178b10 Added tests for rcube_charset class 12 years ago
Aleksander Machniak 5f8adabb62 Add simple (constructor) tests for Framework classes 12 years ago