utf-8编码转换成gb2312(6)


                                                           ((icode1  &  0x3f)  <<    6)    ¦  
                                                           (icode2  &  0x3f));  
                                   noffset  +=  3;  
                                   nremainingbytes  -=  3;  
                       }  
                       else                                                                                                //  4  or  more  bytes  --  unsupported  
                                   break;  
           }  

           if  (nremainingbytes  !=  0)  
           {  
                       //  bad  utf8  string.  

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/3606.html