PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Structures » Structures_DataGrid » Bug #6031

charset GB2312 display not correctly

Details

Submitted2005-11-22 01:11 UTC
Fromdigit_shine at yahoo dot com dot cn
Assignedolivierg
StatusClosed
PackageStructures_DataGrid
PHP Version4.3.11
OSwindowsXp
Roadmaps(Not assigned)

Comments

[2005-11-22 01:11 UTC] digit_shine at yahoo dot com dot cn

Description:
------------
Structure_DataGrid can display simplify chinese in GB2312 in
version 0.6.2, but not correct in version 0.6.3.

The charset of the page was set correctly.

Test script:
---------------
require_once 'myDataObject.php';
$myDataObject = new myDataObject;

require_once 'Structures/DataGrid.php';
$DG =& new Structures_DataGrid;
$DG->bind($myDataObject);
$DG->render();
echo $DG->renderer->getPaging();

[2006-02-01 22:21 UTC] olivierg at php dot net

This bug is fixed in CVS.

The HTMLTable renderer has a new option : "encoding". You can use this option to set the GB2312 charset, it will be used to convert html special caracters.

Thanks