#261 - htmlentities() breaks UTF-8 characters in Tickets listing

Description

What did you do to cause this? Created a Ticket with unicode characters in the Summary, like this one.

What page were you on? Ticket listing.

What PHP and MySQL versions do you run? dev-lang/php-5.3.13 dev-db/mysql-5.1.62-r1

Describe the defect: The unicode characters in Tickets listing are broken into multiple separate characters, where they really should be only one unescaped UTF-8 character. I have provided euro currency symbol € to the summary of this ticket to demonstrate.

Proposed solution: (has been tested and is working great) in file system/controllers/tickets.php on line 270: change htmlentities() to htmlspecialchars()

Activity

13 years and 6 months ago by Jack

  • Status New Accepted

13 years and 6 months ago by Jack

  • Summary htmlentities() breaks UTF-8 characters in Tickets listing € htmlentities() breaks UTF-8 characters in Tickets listing
  • Closed ticket as Fixed

Thanks for reporting this, never would have noticed this.

Status

Fixed
-
Normal

Details

Defect
2.3.5
Tickets
2.3.4
Normal

Tracking

Trupik
13 years and 6 months ago
11 years and 11 months ago
0
-
-