___ encoding to UTF-8 - is there an end-all solution?

JordanOi

New Member
I've looked across the web, I've looked through SO, through PHP documentation and more.It seems like a ridiculous problem not to have a standard solution to. If you get an unknown character set, and it has strange characters (like english quotes), is there a standard way to convert them to UTF-8?I've seen many messy solutions using a plethora of functions and checking and none of them are definitely going to work.Has anyone come up with their own function or a solution that always works?EDITMany people have answered saying "it is not solvable" or something of that nature. I understand that now, but none have given any sort of solution that has worked besides \[code\]utf8_encode\[/code\] which is very limited. What methods ARE out there to deal with this? What is the best method?
 
Top