KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a feed taken from third-party sites, and sometimes I have to apply utf8_decode and other times utf8_encode to get the desired visible output. If by mistake the same stuff is applied twice/or the wrong method is used I get something more ugly, this is what I want to change. How can I detect when what have to apply on the string? Actually the content returns UTF-8, but inside there are parts that are not.
Tags (comma-separated)
Save Edits
Cancel