for i in range(0xA1A2,0xA1A5):                                                                                                 
        b1=i&0xFF;                                                                                                                 
        b2=i>>8;                                                                                                                   
        GBKChar1=chr(b2);                                                                                                          
        GBKChar2=chr(b1);                                                                                                          
        GBKChar=GBKChar1+GBKChar2;                                                                                                 
        print "%s\t%0X%0X"%(GBKChar,b2,b1);                                                                                        
    for i in range(0xA1AE,0xA1C0):                                                                                                 
        b1=i&0xFF;                                                                                                                 
        b2=i>>8;                                                                                                                   
        GBKChar1=chr(b2);                                                                                                          
        GBKChar2=chr(b1);                                                                                                          
        GBKChar=GBKChar1+GBKChar2;                                                                                                 
        print "%s\t%0X%0X"%(GBKChar,b2,b1);                                                                                        
    for i in range(0xA3A1,0xA3B0):                                                                                                 
        b1=i&0xFF;                                                                                                                 
        b2=i>>8;                                                                                                                   
        GBKChar1=chr(b2);                                                                                                          
        GBKChar2=chr(b1);                                                                                                          
        GBKChar=GBKChar1+GBKChar2;                                                                                                 
        print "%s\t%0X%0X"%(GBKChar,b2,b1);                                                                                        
    for i in range(0xA3BA,0xA3C0):                                                                                                 
        b1=i&0xFF;                                                                                                                 
        b2=i>>8;                                                                                                                   
        GBKChar1=chr(b2);                                                                                                          
        GBKChar2=chr(b1);                                                                                                          
        GBKChar=GBKChar1+GBKChar2;                                                                                                 
        print "%s\t%0X%0X"%(GBKChar,b2,b1)

posted on 2016-06-15 13:43  finallyly  阅读(282)  评论(0编辑  收藏  举报