German umlaut problem in vcf import
-
When i create a contact with an german umlaut in the name and in the company, export this to vcf with kopano and import it again, the umlaut in the name is lost - the umlaut in the company works.
the problem is in
server/includes/upload_attachment.php
line 412// File as field value generator. if (isset($contactProps[PR_DISPLAY_NAME])) { $displayName = isset($contactProps[PR_DISPLAY_NAME]) ? utf8_decode($contactProps[PR_DISPLAY_NAME]) : " "; $displayName = str_replace("\xA0"," ", $displayName);
removing the utf8_decode solves the problem for me:
// File as field value generator. if (isset($contactProps[PR_DISPLAY_NAME])) { $displayName = isset($contactProps[PR_DISPLAY_NAME]) ? $contactProps[PR_DISPLAY_NAME] : " "; $displayName = str_replace("\xA0"," ", $displayName);
could please somebody change this code?