Character Issues

QuestionsCharacter Issues
Robert Childers asked 7 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 7 years ago

Hello,
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
Grid 4 PHP Framework
 
Your Answer

13 + 20 =

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?