Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3650

Entity-escaping in textarea fields happens for UTF8 strings

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Testcase:

      1. Create new note for any contact containing string "łąś"
      2. Edit newly created note (diacritics are displayed as ���)
      3. Save newly created note (diacritics are saved as ���)

      Reproduced on http://sandbox.civicrm.org/

      First investigation: Something treats this as ISO-8859-1 data and happily replaces the bytes by their HTML entities - the page's source is actually ���

      Second investigation: Tried this for a couple of of other fields, and it seems this happens for textareas only, but all of them (tried Activities, Grants).

        Attachments

          Activity

            People

            • Assignee:
              shailesh Shailesh Lende
              Reporter:
              mover Michał Mach
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: