Shift JIS no relation EUC-JIS-2004
s
          
            2
          
        
        =
        
          
            {
            
              
                
                  t
                  +
                  63
                
                
                  
                    
                      if 
                    
                  
                  k
                  
                    
                       is odd and 
                    
                  
                  1
                  ≤
                  t
                  ≤
                  63
                
              
              
                
                  t
                  +
                  64
                
                
                  
                    
                      if 
                    
                  
                  k
                  
                    
                       is odd and 
                    
                  
                  64
                  ≤
                  t
                  ≤
                  94
                
              
              
                
                  t
                  +
                  158
                
                
                  
                    
                      if 
                    
                  
                  k
                  
                    
                       is even 
                    
                  
                
              
            
            
          
        
      
    
    {\displaystyle s_{2}={\begin{cases}t+63&{\mbox{if }}k{\mbox{ is odd and }}1\leq t\leq 63\\t+64&{\mbox{if }}k{\mbox{ is odd and }}64\leq t\leq 94\\t+158&{\mbox{if }}k{\mbox{ is even }}\end{cases}}}
  In the above, 
  
    
      
        
          s
          
            1
          
        
        
          s
          
            2
          
        
      
    
    {\displaystyle s_{1}s_{2}}
   is a two-byte Shift_JIS-2004 sequence, 
  
    
      
        m
      
    
    {\displaystyle m}
   is the plane (面, men, surface) number (1 or 2), 
  
    
      
        k
      
    
    {\displaystyle k}
   is the row (区, ku, ward) number (1-94) and 
  
    
      
        t
      
    
    {\displaystyle t}
   is the cell (点, ten, point) number (1-94). The ku and ten numbers are equivalent to 
  
    
      
        
          j
          
            1
          
        
        −
        32
      
    
    {\displaystyle j_{1}-32}
   and 
  
    
      
        
          j
          
            2
          
        
        −
        32
      
    
    {\displaystyle j_{2}-32}
   respectively, where 
  
    
      
        
          j
          
            1
          
        
        
          j
          
            2
          
        
      
    
    {\displaystyle j_{1}j_{2}}
   is a two-byte JIS sequence referencing a given plane.
The same set of characters can represented by EUC-JIS-2004, the EUC-JP based counterpart.
Some of the additions collide with popular Shift JIS extensions, including Windows codepage 932 which is used in web standards (see above). For example, compare plane 1 row 89 in JIS X 0213 (beginning 硃, 硎, 硏…) to row 89 in the JIS X 0208 variant defined in web standards (beginning 纊, 褜, 鍈…). In addition, some of the characters map to Unicode characters beyond the BMP.
no relation