mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Give higher levels a chance to avoid QP
This commit is contained in:
parent
67913ad192
commit
48538a6ced
@ -1062,12 +1062,12 @@ class Horde_iCalendar {
|
|||||||
// or QUOTED-PRINTABLE encoded. Currently we use
|
// or QUOTED-PRINTABLE encoded. Currently we use
|
||||||
// QUOTED-PRINTABLE as default.
|
// QUOTED-PRINTABLE as default.
|
||||||
if (preg_match("/[^\x20-\x7F]/", $value) &&
|
if (preg_match("/[^\x20-\x7F]/", $value) &&
|
||||||
empty($params['ENCODING'])) {
|
!isset($params['ENCODING'])) {
|
||||||
$params['ENCODING'] = 'QUOTED-PRINTABLE';
|
$params['ENCODING'] = 'QUOTED-PRINTABLE';
|
||||||
$params_str .= ';ENCODING=QUOTED-PRINTABLE';
|
$params_str .= ';ENCODING=QUOTED-PRINTABLE';
|
||||||
// Add CHARSET as well. At least the synthesis client
|
// Add CHARSET as well. At least the synthesis client
|
||||||
// gets confused otherwise
|
// gets confused otherwise
|
||||||
if (empty($params['CHARSET'])) {
|
if (!isset($params['CHARSET'])) {
|
||||||
$params['CHARSET'] = NLS::getCharset();
|
$params['CHARSET'] = NLS::getCharset();
|
||||||
$params_str .= ';CHARSET=' . $params['CHARSET'];
|
$params_str .= ';CHARSET=' . $params['CHARSET'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user