摘要:        
两个函数在格式化带有英文字符的html代码的时候基本没啥问题,但是htmlentities对中文字符也不放过,这样得出来的结果是中文字符部分变为一堆乱码。 The translations performed are: ‘&’ (ampersand) becomes ‘&’ ‘”‘ (double quote) becomes ‘”‘ when ENT_NOQUOTES is not set. ”’ (single quote) becomes ”’ only when ENT_QUOTES is set. ‘<’ (less than) becomes ‘<’ ‘    阅读全文
            
                posted @ 2009-04-12 21:35
corange
阅读(132)
评论(0)
推荐(0)
            
         
                    
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号