utf8 encoding

Questionsutf8 encoding
Paolo D. asked 8 years ago

When filtering data on top line of a grid I get an error since one field of the records returned is not utf8 compatible (it contains a "รจ").

I had a similar problem on dropdown results which was fixed by modifying the function get_dropdown_values($sql) (line 602 of file jqgrid_dist.php was replaced by $str[] = $rs["k"].":".utf8_encode($rs["v"]);).

I guess I should add utf8_encode to the function which filters data, can you please point me out the correct one?

Txs

1 Answers
Abu Ghufran answered 8 years ago

Hi,

You can try setting:
$g->charset = "-";

where $g is new jqgrid();
I'm also sending you latest build.

Your Answer

6 + 1 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?