php - Slickgrid html entities problem in Editor -
i using slickgrid (js grid) display data. because need put data inside " , content contains programming code, decode content php function htmlentities($mycontent,ent_quotes,"utf-8").
now renders fine except if edit cell. not display "รค" &_auml; (i used _to prevent rendering). want displayed normal view.
normal view:
edit view:
i went code ->slickeditor.js html entity decode (manually written) in js without success.
is there intelligent solution this?
you try change server serverdefaultcharset , apply country charset, avoid usage of htmlentities.
you may create .htacces rule:
serverdefaultcharset utf-8
now not encode html entities.
i hope give help, me @ other similar situations, language portuguese same difficulty yours.
Comments
Post a Comment