Most voted "htmlentities" questions
5 questions
Sort by count of
-
4
votes4
answers3597
viewsjson returns null with special characters
Today I came across this mistake: When trying to encode an array for json, some values return null. I arrived at the solution before using the function json_encode() pass all strings to UTF-8 with…
-
4
votes1
answer812
viewsHow to convert text into HTML entities in a way that is compatible with Ckeditor?
I need to do a textual search on a set of data produced by Ckeditor. This editor converts text into HTML entities such as: Serviços oferecidos ---> Serviços oferecidos What I need,…
-
4
votes2
answers481
viewsDecode HTML entities in a Python string
I’m using Python 3 to access a web API. The response to the requests comes in the JSON standard and my problem is that one of the Strings comes encoded with HTML entities (specifically…
-
1
votes1
answer181
viewsDoubt Php htmlentities
This is just a desire to learn, I put into production a site that had been working for some time. and I noticed that utf8_encode worked on the localhost but does not work in production now. I…
-
1
votes0
answers44
viewsStrip_tags + htmlentities - No connection to the variable
I have the following problem. I have a database connection, which uses a function called $FLD to bring the fields I want: $FLD="idfca, dtafca, solfca"; After that I am publishing the $FLD for a…