Character Issues

QuestionsCharacter Issues
Robert Childers asked 2 years ago

I can’t seem to get the grid to properly display accented characters.  The same data displays fine when pulled from the database into my HTML or PHP, but when shown in the grid has a weird output.  How can I fix this?

1 Answers
Abu Ghufran Staff answered 2 years ago

By default latest build expects data to be in UTF8. If your database have different charset, you need to tell grid by:
$g->charset = “latin1”;
Where $g = new jqgrid()

Abu Ghufran - Dev Team
PHP Grid Framework
Your Answer

17 + 10 =

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 / 5. Vote count:

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

Let us improve this post!