Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21038

Treemenu breaks with non latin char

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • Customer request, 5.0, 5.1
    • 5.0, 5.1
    • None

    Description

      In 5.1 legacy stack, there is a call to htmlentities in kernel/content/treemenu.php (only one in the whole kernel)

      $childResponse['name'] = htmlentities( $child->getName() );

      But, according to the PHP documentation, before php 5.4 htmlentities is using ISO-8859-1 encoding and UTF-8 starting from php 5.4. Our requirement is php 5.3.

      My issue here is that Japanese node names get turned into 'null' because of this call.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours
                1d 2h