I believe JSON_ERROR_UTF8 only has meaning within the context of the return value from json_last_error() (see example 1).
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
I think I need an explanation of what you're ultimately trying to accomplish with all this encoding? If it's just to get it to work in a URL, perhaps all you need is url_encode()?
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
in my MySql database, I have url slugs, to replace spaces with hyphens, and I wan't it to read by that column with those slugs, and its not reading that certain row, or not displaying the content, and I need some help on how to make that work
Bookmarks