Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.2
-
Fix Version/s: 1.8.0
-
Component/s: Zend_Text_Table
-
Labels:None
Description
Non ASCII characters break the columns when input is UTF-8 encoded.
The problem is located in the Zend_Text_Table_Column class on line 229. The str_pad() function is used and it is not overloaded by mbstring extension so it fails calculating correctly the string length.
Iconv has to be used instead of mbstring because it's available in default php installations.
Mbstring is only allowed to be used when there is no other way.