Commit Graph

19 Commits

Author SHA1 Message Date
Aleksander Machniak
42ddfe5ec9 Simplify mbstring code path in rcube_charset::convert() 2016-09-27 17:03:02 +02:00
Aleksander Machniak
c65bb121eb Describe Framework requirements, drop some redundant code (since we require mbstring) 2016-08-20 11:07:05 +02:00
Aleksander Machniak
7e3298753a Use ternary operator where aplicable 2015-11-14 10:08:07 +01:00
Aleksander Machniak
1b61a48eec Get rid of mb_check_encoding() before mb_convert_encoding() for better performance, CS fixes 2015-09-22 21:18:15 +02:00
Aleksander Machniak
83345af059 Log charset conversion warning only when no function was found, not when the string was invalid 2015-09-22 13:11:30 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Aleksander Machniak
bb21913387 Fix mb_substitute_character() use 2015-05-06 10:47:08 +02:00
Aleksander Machniak
966a9086a5 Fix rcube_charset::clean() for case when mbstring and iconv are not installed 2015-05-05 13:49:04 +02:00
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.
2014-12-13 08:54:12 +01:00
Aleksander Machniak
9e4246d957 Code improvements and fixes (mostly unused variables and methods) 2014-11-16 14:04:53 +01:00
Aleksander Machniak
a7a778c157 Fix some character sets detection (#1490135) 2014-11-07 11:43:42 +01:00
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.
2014-08-27 17:45:21 +02:00
Aleksander Machniak
faa9c89236 Make sure mbstring susbtitute character is set to empty string in rcube_charset::clean() 2014-04-13 11:43:18 +02:00
Aleksander Machniak
172302e2cf Small perf. improvement 2014-01-02 09:08:31 +01:00
Aleksander Machniak
59f0313d98 - Fix detecting Turkish language in ISO-8859-9 encoding (#1489252) 2013-07-28 09:03:07 +02:00
Aleksander Machniak
a5b8ef99d4 Improve charset detection by prioritizing charset according to user language (#1485669) 2013-01-06 13:10:50 +01:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Aleksander Machniak
a92beb6bdb Define RCUBE_CHARSET in place of RCMAIL_CHARSET for naming consistency 2012-11-27 08:43:43 +01:00
Aleksander Machniak
ba6f21caeb Framework files moved to lib/Roundcube 2012-11-21 19:52:03 +01:00