Commit Graph

22 Commits (a8542e9c0865f8abcd8af8744dc016eb1ac27652)

Author SHA1 Message Date
Aleksander Machniak 0bef84c410 Fix decoding non-ascii attachment names from TNEF attachments (#5646, #5799) 8 years ago
ka7 9a35768c26 spelling fixes (#5690) 8 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
Aleksander Machniak 42ddfe5ec9 Simplify mbstring code path in rcube_charset::convert() 8 years ago
Aleksander Machniak c65bb121eb Describe Framework requirements, drop some redundant code (since we require mbstring) 8 years ago
Aleksander Machniak 7e3298753a Use ternary operator where aplicable 9 years ago
Aleksander Machniak 1b61a48eec Get rid of mb_check_encoding() before mb_convert_encoding() for better performance, CS fixes 9 years ago
Aleksander Machniak 83345af059 Log charset conversion warning only when no function was found, not when the string was invalid 9 years ago
Aleksander Machniak a958748947 CS fixes 10 years ago
Aleksander Machniak bb21913387 Fix mb_substitute_character() use 10 years ago
Aleksander Machniak 966a9086a5 Fix rcube_charset::clean() for case when mbstring and iconv are not installed 10 years ago
Aleksander Machniak 066e22874b Don't log "No suitable function found for UTF-8..." as E_USER_WARNING.
Use E_USER_NOTICE - this happens quite often as email messages
containing invalid charset name are not so rare.
10 years ago
Aleksander Machniak 9e4246d957 Code improvements and fixes (mostly unused variables and methods) 10 years ago
Aleksander Machniak a7a778c157 Fix some character sets detection (#1490135) 10 years ago
Thomas Bruederli a98a4f8bb5 Remove 3rd party libs from our repository and define the dependencies in composer.json-dist.
Also remove the ancient utf8 lib and replace it with 'Patchwork UTF-8 for PHP'.

For direct git checkouts, copy composer.json-dist into composer.json and run
`php composer.phar install` to install the dependencies.
10 years ago
Aleksander Machniak faa9c89236 Make sure mbstring susbtitute character is set to empty string in rcube_charset::clean() 11 years ago
Aleksander Machniak 172302e2cf Small perf. improvement 11 years ago
Aleksander Machniak 59f0313d98 - Fix detecting Turkish language in ISO-8859-9 encoding (#1489252) 12 years ago
Aleksander Machniak a5b8ef99d4 Improve charset detection by prioritizing charset according to user language (#1485669) 12 years ago
Aleksander Machniak d2534c63f2 Cleanup, remove file paths from doc 12 years ago
Aleksander Machniak a92beb6bdb Define RCUBE_CHARSET in place of RCMAIL_CHARSET for naming consistency 12 years ago
Aleksander Machniak ba6f21caeb Framework files moved to lib/Roundcube 12 years ago