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: alt text

edit view: alt text

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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -