#261 - htmlentities() breaks UTF-8 characters in Tickets listing
Type Defect
Status Fixed
Milestone 2.3.5
Version 2.3.4
Component Tickets
Priority Normal
Severity Normal
Owner Trupik
Assigned to -
Reported 10 years ago
Updated 8 years ago
Votes 0
Related tickets
Proposed time
Worked time

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()

Ticket History

10 years and 2 months ago by Jack

  • Status New Accepted

10 years and 2 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.