tronics Newbie

Joined: 11 Jan 2008 Posts: 5 :
Items
|
Posted: Mon May 12, 2008 11:39 pm Post subject: Bug + Quickfix: encoding gets corrupted on sorting |
|
|
This applies to the current version 4.2.5 as well as previous versions.
Description:
Setting encoding e.g. german Umlauts in the implementation via:
$dg_encoding = "latin1";
$dg_collation = "utf8_unicode_ci";
As soon as you sort on any field the encoding gets lost.
Reason:
$dg_encoding gets lost in the process of sorting, setEncoding is not getting called appropriately
Quickfix:
In Line 150 in datagrid.class.php set it directly for your project:
$this->encoding = "latin1";
$this->collation = "utf8_unicode_ci";
Regards,
tronics |
|