Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    German umlaut problem in vcf import

    Kopano WebApp
    1
    1
    178
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • chrostek
      chrostek last edited by

      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?

      1 Reply Last reply Reply Quote 1
      • First post
        Last post