PHP - ___ encoding to UTF-8 - is there an end-all solution?
        Posted  
        
            by Kerry
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Kerry
        
        
        
        Published on 2010-06-11T21:01:56Z
        Indexed on 
            2010/06/14
            1:22 UTC
        
        
        Read the original article
        Hit count: 311
        
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?
© Stack Overflow or respective owner