Home » Structures » Structures_DataGrid » Bug #6031
charset GB2312 display not correctly
Details
| Submitted | 2005-11-22 01:11 UTC |
|---|---|
| From | digit_shine at yahoo dot com dot cn |
| Assigned | olivierg |
| Status | Closed |
| Package | Structures_DataGrid |
| PHP Version | 4.3.11 |
| OS | windowsXp |
| 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