Closed imonteiro closed 11 years ago
From igor...@gmail.com on October 17, 2010 22:18:27 complement for filters protected function convertRequestParams($params=null) ... foreach ($filteredFields as $filter=>$val) { $this->setParam($filter,$val); } ... }
to
... foreach ($filteredFields as $filter=>$val) { $val = iconv("utf-8","iso-8859-1",$val); $this->setParam($filter,$val); } ...
From martin.m...@gmail.com on January 07, 2011 15:05:59 Not sure if this is really problem of jqGrid deploy class. I believe that your data are not in utf-8, but your web page is set to this characterset. Character problems would happen also with Table deploy class. Calling implicitly iconv() methods would decrees the spead of most other users.
Please provide me with some example page where I will see how it renders wrongly if you want that I work on this issue.
From bento.vi...@gmail.com on January 07, 2011 15:32:08 Hi,
I think Martin is right.
You are using multiple charsets in your page, that's why you need to convert them.
Change your current charset to fixe that.
Best Regards, Bento Vilas Boas
From david.a...@gmail.com on November 29, 2012 16:45:21 Me too.
I dont think that it is utf-8.
I have several characters and it dont alls happens that seems. Only when it go to Zend<->ZFdatagrid and go out (screen).
any help more?
From martin.m...@gmail.com on November 29, 2012 22:44:26 As mentioned in my comment before, provide me please with example page where it doesn't work and I will look at the problem in detail.
Original author: igor...@gmail.com (October 17, 2010 22:03:15)
What steps will reproduce the problem?
my solution
class Bvb_Grid_Deploy_JqGrid
public function renderPartData(){ ... foreach ( $row as $key=>$val ) { $d[] = $val['value']; } ... }
to
public function renderPartData(){ ... foreach ( $row as $key=>$val ) { $d[] = iconv("iso-8859-1","utf-8",$val['value']); } ... }
Original issue: http://code.google.com/p/zfdatagrid/issues/detail?id=477