CRM-7131 CRM_Utils_String::isutf8 doesn't always work

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.beta
    • Fix Version/s: 3.3.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      http://forum.civicrm.org/index.php/topic,16171.msg69358.html#msg69358
      Attached as patch since not sure how commonly mbstring is available in php installs.

        Attachments

          Activity

          [CRM-7131] CRM_Utils_String::isutf8 doesn't always work
          Michał Mach added a comment -

          I've applied the patch with a modification - if mb_detect_encoding function doesn't exist, old behaviour prevails. If it does, your code is executed. Thanks Dave!

            People

            • Assignee:
              Michał Mach
              Reporter:
              Dave D

              Dates

              • Created:
                Updated:
                Resolved: