PHP XML encoding
        Posted  
        
            by Jeremey
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Jeremey
        
        
        
        Published on 2010-06-15T15:08:59Z
        Indexed on 
            2010/06/15
            15:12 UTC
        
        
        Read the original article
        Hit count: 312
        
I need a function that will convert € or chr(0x20AC) or chr(8364) to € without having a static map.
I tried using htmlentities(), but it only seems to work for the symbol itself and it converts to €
© Stack Overflow or respective owner