php reading mysql bit field returning weird character
        Posted  
        
            by user121196
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by user121196
        
        
        
        Published on 2010-05-26T16:10:20Z
        Indexed on 
            2010/05/26
            16:11 UTC
        
        
        Read the original article
        Hit count: 247
        
I am using mysql_fetch_assoc($query), one of the bit field returns out to be , which is supposedly to be true.
The problem is that I also need to output this to xml and it's an illegal xml character.
the charset for the db table is utf-8.  why does this happen?
© Stack Overflow or respective owner