Contacts: Fix encoding errors, import errors, developer headache, paint cute kittens and pink clouds ;-)
This commit is contained in:
parent
759ddcbf32
commit
8af53829d5
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class OC_Contacts_VCard{
|
|||
foreach($property->parameters as $key=>&$parameter){
|
||||
if(strtoupper($parameter->name) == 'ENCODING') {
|
||||
if(strtoupper($parameter->value) == 'QUOTED-PRINTABLE') { // what kind of other encodings could be used?
|
||||
$property->value = quoted_printable_decode($property->value);
|
||||
$property->value = str_replace("\r\n", "\n", mb_convert_encoding(quoted_printable_decode($property->value), 'utf-8', 'auto'));
|
||||
unset($property->parameters[$key]);
|
||||
}
|
||||
} elseif(strtoupper($parameter->name) == 'CHARSET') {
|
||||
|
|
Loading…
Reference in a new issue