[ZBX-118] show_popup_menu display problem Created: 2007 Oct 27  Updated: 2017 May 30  Resolved: 2008 Jul 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.4.3
Fix Version/s: 1.4.3

Type: Incident report Priority: Major
Reporter: Alexei Vladishev Assignee: Alexander Vladishev
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

http://www.zabbix.com/forum/showthread.php?t=8049


Attachments: JPEG File screenshot-1.jpg    

 Description   

Hello.

There is a display problem in Japanese, shown by JavaScript function show_popup_menu.

OnClick() display strings passed are processed at CTag::AddAction() in file ctag.inc.php.

PHP function htmlentities() has default charset ISO-8859-1.

By adding charset locale constant S_HTML_CHARSET to htmlentities(), the problem resolved.
It should work both cn and ru.

Below is the small patch.

Sincerely.



 Comments   
Comment by Alexander Vladishev [ 2008 Jul 21 ]

I can't reproduce this problem.
I change status of the problem to Closed. Feel free to Re-open or Close it.

Alexander

Comment by richlv [ 2009 Sep 15 ]

closing all resolved issues

Generated at Fri Apr 18 23:52:36 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.