Skip to content

Foreign characters display

Problem:

MultilanguageThe data within the grid appear correctly, but when I use function:
$dg→set_col_title(“id”, “ěščřžýáí”) (with non english characters) the resulting title of column is “null”.

Solution:

First of all, set the database charset:
http://phpgrid.com/example/display-foreign-language-characters/

then set the meta content type such as ISO-8859-1, in your HTML header.

Additional reading :
http://phpgrid.uservoice.com/knowledgebase/articles/103545 

Feedback and Knowledge Base