#   C o d e p a g e s   f o r   J S 
 
 [ C o d e p a g e s ] ( h t t p s : / / e n . w i k i p e d i a . o r g / w i k i / C o d e p a g e )   a r e   c h a r a c t e r   e n c o d i n g s .     I n 
 m a n y   c o n t e x t s ,   s i n g l e -   o r   d o u b l e - b y t e   c h a r a c t e r   s e t s   a r e   u s e d   i n   l i e u   o f   U n i c o d e 
 e n c o d i n g s .     T h e   c o d e p a g e s   m a p   b e t w e e n   c h a r a c t e r s   a n d   n u m b e r s . 
 
 [ u n i c o d e . o r g ] ( h t t p : / / w w w . u n i c o d e . o r g / P u b l i c / M A P P I N G S / )   h o s t s   l i s t s   o f   m a p p i n g s . 
 T h e   b u i l d   s c r i p t   a u t o m a t i c a l l y   d o w n l o a d s   a n d   p a r s e s   t h e   m a p p i n g s   i n   o r d e r   t o 
 g e n e r a t e   t h e   f u l l   s c r i p t .     T h e   ` p a g e s . c s v `   d e s c r i p t i o n   i n   ` c o d e p a g e . m d `   c o n t r o l s 
 w h i c h   c o d e p a g e s   a r e   u s e d . 
 
 # #   S e t u p 
 
 I n   n o d e : 
 
         v a r   c p t a b l e   =   r e q u i r e ( ' c o d e p a g e ' ) ; 
 
 I n   t h e   b r o w s e r : 
 
         < s c r i p t   s r c = " c p t a b l e . j s " > < / s c r i p t > 
         < s c r i p t   s r c = " c p u t i l s . j s " > < / s c r i p t > 
 
 A l t e r n a t i v e l y ,   u s e   t h e   f u l l   v e r s i o n   i n   t h e   d i s t   f o l d e r : 
 
         < s c r i p t   s r c = " c p t a b l e . f u l l . j s " > < / s c r i p t > 
 
 T h e   c o m p l e t e   s e t   o f   c o d e p a g e s   i s   l a r g e   d u e   t o   s o m e   D o u b l e   B y t e   C h a r a c t e r   S e t 
 e n c o d i n g s .     A   m u c h   s m a l l e r   f i l e   t h a t   j u s t   i n c l u d e s   S B C S   c o d e p a g e s   i s   p r o v i d e d   i n 
 t h i s   r e p o   ( ` s b c s . j s ` ) ,   a s   w e l l   a s   a   f i l e   f o r   o t h e r   p r o j e c t s   ( ` c p e x c e l . j s ` ) 
 
 I f   y o u   k n o w   w h i c h   c o d e p a g e s   y o u   n e e d ,   y o u   c a n   i n c l u d e   i n d i v i d u a l   s c r i p t s   f o r 
 e a c h   c o d e p a g e .     T h e   i n d i v i d u a l   f i l e s   a r e   p r o v i d e d   i n   t h e   ` b i t s / `   d i r e c t o r y . 
 F o r   e x a m p l e ,   t o   i n c l u d e   o n l y   t h e   M a c   c o d e p a g e s : 
 
         < s c r i p t   s r c = " b i t s / 1 0 0 0 0 . j s " > < / s c r i p t > 
         < s c r i p t   s r c = " b i t s / 1 0 0 0 6 . j s " > < / s c r i p t > 
         < s c r i p t   s r c = " b i t s / 1 0 0 0 7 . j s " > < / s c r i p t > 
         < s c r i p t   s r c = " b i t s / 1 0 0 2 9 . j s " > < / s c r i p t > 
         < s c r i p t   s r c = " b i t s / 1 0 0 7 9 . j s " > < / s c r i p t > 
         < s c r i p t   s r c = " b i t s / 1 0 0 8 1 . j s " > < / s c r i p t > 
 
 A l l   o f   t h e   b r o w s e r   s c r i p t s   d e f i n e   a n d   a p p e n d   t o   t h e   ` c p t a b l e `   o b j e c t .     T o   r e n a m e 
 t h e   o b j e c t ,   e d i t   t h e   ` J S V A R `   s h e l l   v a r i a b l e   i n   ` m a k e . s h `   a n d   r u n   t h e   s c r i p t . 
 
 T h e   u t i l i t i e s   f u n c t i o n s   a r e   c o n t a i n e d   i n   ` c p u t i l s . j s ` ,   w h i c h   a s s u m e s   t h a t   t h e 
 a p p r o p r i a t e   c o d e p a g e   s c r i p t s   w e r e   l o a d e d . 
 
 # #   U s a g e 
 
 M o s t   c o d e p a g e s   a r e   i n d e x e d   b y   n u m b e r .     T o   g e t   t h e   u n i c o d e   c h a r a c t e r   f o r   a   g i v e n 
 c o d e p o i n t ,   u s e   t h e   ` d e c `   p r o p e r t y : 
 
 ` ` ` j s 
 v a r   u n i c o d e _ c p 1 0 0 0 0 _ 2 5 5   =   c p t a b l e [ 1 0 0 0 0 ] . d e c [ 2 5 5 ] ;   / /   Ç
 ` ` ` 
 
 T o   g e t   t h e   c o d e p o i n t   f o r   a   g i v e n   c h a r a c t e r ,   u s e   t h e   ` e n c `   p r o p e r t y : 
 
 ` ` ` j s 
 v a r   c p 1 0 0 0 0 _ 7 1 1   =   c p t a b l e [ 1 0 0 0 0 ] . e n c [ S t r i n g . f r o m C h a r C o d e ( 7 1 1 ) ] ;   / /   2 5 5 
 ` ` ` 
 
 T h e r e   a r e   a   f e w   u t i l i t i e s   t h a t   d e a l   w i t h   s t r i n g s   a n d   b u f f e r s : 
 
 ` ` ` j s 
 v a r   Gl;`  =   c p t a b l e . u t i l s . d e c o d e ( 9 3 6 ,   [ 0 x b b , 0 x e 3 , 0 x d 7 , 0 x d c ] ) ; 
 v a r   b u f   =     c p t a b l e . u t i l s . e n c o d e ( 9 3 6 ,     Gl;`) ; 
 v a r   s u s h i =   c p t a b l e . u t i l s . d e c o d e ( 6 5 0 0 1 ,   [ 0 x f 0 , 0 x 9 f , 0 x 8 d , 0 x a 3 ] ) ;   / /   <Øcß
 v a r   s b u f   =   c p t a b l e . u t i l s . e n c o d e ( 6 5 0 0 1 ,   s u s h i ) ; 
 ` ` ` 
 
 ` c p t a b l e . u t i l s . e n c o d e ( C P ,   d a t a ,   o f m t ) `   a c c e p t s   a   S t r i n g   o r   A r r a y   o f   c h a r a c t e r s 
 a n d   r e t u r n s   a   r e p r e s e n t a t i o n   c o n t r o l l e d   b y   ` o f m t ` : 
 
 -   D e f a u l t   o u t p u t   i s   a   B u f f e r   ( o r   A r r a y )   o f   b y t e s   ( i n t e g e r s   b e t w e e n   0   a n d   2 5 5 ) . 
 -   I f   ` o f m t   = =   ' s t r ' ` ,   r e t u r n   a   S t r i n g   w h e r e   ` o . c h a r C o d e A t ( i ) `   i s   t h e   ` i ` - t h   b y t e 
 -   I f   ` o f m t   = =   ' a r r ' ` ,   r e t u r n   a n   A r r a y   o f   b y t e s 
 
 # #   K n o w n   E x c e l   C o d e p a g e s 
 
 A   m u c h   s m a l l e r   s c r i p t ,   i n c l u d i n g   o n l y   t h e   c o d e p a g e s   k n o w n   t o   b e   u s e d   i n   E x c e l , 
 i s   a v a i l a b l e   u n d e r   t h e   n a m e   ` c p e x c e l ` .     I t   e x p o s e s   t h e   s a m e   v a r i a b l e   ` c p t a b l e ` 
 a n d   i s   s u i t a b l e   a s   a   d r o p - i n   r e p l a c e m e n t   w h e n   t h e   f u l l   c o d e p a g e   t a b l e s   a r e   n o t 
 n e e d e d . 
 
 I n   n o d e : 
 
 ` ` ` j s 
 v a r   c p t a b l e   =   r e q u i r e ( ' c o d e p a g e / d i s t / c p e x c e l . f u l l ' ) ; 
 ` ` ` 
 
 # #   R o l l i n g   y o u r   o w n   s c r i p t 
 
 T h e   ` m a k e . s h `   s c r i p t   i n   t h e   r e p o   c a n   t a k e   a   m a n i f e s t   a n d   g e n e r a t e   J S   s o u r c e . 
 
 U s a g e : 
 
 ` ` ` b a s h 
 b a s h   m a k e . s h   p a t h _ t o _ m a n i f e s t   o u t p u t _ f i l e _ n a m e   J S V A R 
 ` ` ` 
 
 w h e r e 
 
 -   ` J S V A R `   i s   t h e   n a m e   o f   t h e   e x p o r t e d   v a r i a b l e   ( g e n e r a l l y   ` c p t a b l e ` ) 
 -   ` o u t p u t _ f i l e _ n a m e `   i s   t h e   o u t p u t   f i l e   ( e . g .   ` c p e x c e l . j s ` ,   ` c p t a b l e . j s ` ) 
 -   ` p a t h _ t o _ m a n i f e s t `   i s   t h e   p a t h   t o   t h e   m a n i f e s t   f i l e . 
 
 T h e   m a n i f e s t   f i l e   i s   e x p e c t e d   t o   b e   a   C S V   w i t h   3   c o l u m n s : 
 
         < c o d e p a g e   n u m b e r > , < s o u r c e > , < s i z e > 
 
 I f   a   s o u r c e   i s   s p e c i f i e d ,   i t   w i l l   t r y   t o   d o w n l o a d   t h e   s p e c i f i e d   f i l e   a n d   p a r s e . 
 T h e   f i l e   f o r m a t   i s   e x p e c t e d   t o   f o l l o w   t h e   f o r m a t   f r o m   t h e   u n i c o d e . o r g   s i t e . 
 T h e   s i z e   s h o u l d   b e   ` 1 `   f o r   a   s i n g l e - b y t e   c o d e p a g e   a n d   ` 2 `   f o r   a   d o u b l e - b y t e 
 c o d e p a g e .     F o r   m i x e d   c o d e p a g e s   ( w h i c h   u s e   s o m e   s i n g l e -   a n d   s o m e   d o u b l e - b y t e 
 c o d e s ) ,   t h e   s c r i p t   a s s u m e s   t h e   m a p p i n g   i s   a   p r e f i x   c o d e   a n d   g e n e r a t e s   e f f i c i e n t 
 J S   c o d e . 
 
 G e n e r a t e d   s c r i p t s   o n l y   i n c l u d e   t h e   m a p p i n g .     ` c a t `   a   m a p p i n g   w i t h   ` c p u t i l s . j s ` 
 t o   p r o d u c e   a   c o m p l e t e   s c r i p t   l i k e   ` c p e x c e l . f u l l . j s ` . 
 
 # #   B u i l d i n g   t h e   c o m p l e t e   s c r i p t 
 
 T h i s   s c r i p t   u s e s   [ v o c ] ( n p m . i m / v o c ) .     T h e   s c r i p t   t o   b u i l d   t h e   c o d e p a g e   t a b l e s   a n d 
 t h e   J S   s o u r c e   i s   ` c o d e p a g e . m d ` ,   s o   b u i l d i n g   i s   a s   s i m p l e   a s   ` v o c   c o d e p a g e . m d ` . 
 
 # #   G e n e r a t e d   C o d e p a g e s 
 
 T h e   c o m p l e t e   l i s t   o f   h a r d c o d e d   c o d e p a g e s   c a n   b e   f o u n d   i n   t h e   f i l e   ` p a g e s . c s v ` . 
 
 S o m e   c o d e p a g e s   a r e   e a s i e r   t o   i m p l e m e n t   a l g o r i t h m i c a l l y .     S i n c e   t h e s e   a r e 
 h a r d c o d e d   i n   ` u t i l s ` ,   t h e r e   i s   n o   c o r r e s p o n d i n g   e n t r y   ( t h e y   a r e   " m a g i c " ) . 
 
 |       C P #       |       S o u r c e         |   D e s c r i p t i o n                                                                                     | 
 | - - - - - - - - : | : - - - - - - - - - - - : | : - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | 
 |   `       3 7 `   |   u n i c o d e . o r g   |   I B M   E B C D I C   U S - C a n a d a                                                                   | 
 |   `     4 3 7 `   |   u n i c o d e . o r g   |   O E M   U n i t e d   S t a t e s                                                                         | 
 |   `     5 0 0 `   |   u n i c o d e . o r g   |   I B M   E B C D I C   I n t e r n a t i o n a l                                                           | 
 |   `     6 2 0 `   |           N L S           |   M a z o v i a   ( P o l i s h )   M S - D O S                                                             | 
 |   `     7 0 8 `   |     W i n d o w s   7     |   A r a b i c   ( A S M O   7 0 8 )                                                                         | 
 |   `     7 2 0 `   |     W i n d o w s   7     |   A r a b i c   ( T r a n s p a r e n t   A S M O ) ;   A r a b i c   ( D O S )                             | 
 |   `     7 3 7 `   |   u n i c o d e . o r g   |   O E M   G r e e k   ( f o r m e r l y   4 3 7 G ) ;   G r e e k   ( D O S )                               | 
 |   `     7 7 5 `   |   u n i c o d e . o r g   |   O E M   B a l t i c ;   B a l t i c   ( D O S )                                                           | 
 |   `     8 0 8 `   |   u n i c o d e . o r g   |   O E M   R u s s i a n ;   C y r i l l i c   +   E u r o   s y m b o l                                     | 
 |   `     8 5 0 `   |   u n i c o d e . o r g   |   O E M   M u l t i l i n g u a l   L a t i n   1 ;   W e s t e r n   E u r o p e a n   ( D O S )           | 
 |   `     8 5 2 `   |   u n i c o d e . o r g   |   O E M   L a t i n   2 ;   C e n t r a l   E u r o p e a n   ( D O S )                                     | 
 |   `     8 5 5 `   |   u n i c o d e . o r g   |   O E M   C y r i l l i c   ( p r i m a r i l y   R u s s i a n )                                           | 
 |   `     8 5 7 `   |   u n i c o d e . o r g   |   O E M   T u r k i s h ;   T u r k i s h   ( D O S )                                                       | 
 |   `     8 5 8 `   |     W i n d o w s   7     |   O E M   M u l t i l i n g u a l   L a t i n   1   +   E u r o   s y m b o l                               | 
 |   `     8 6 0 `   |   u n i c o d e . o r g   |   O E M   P o r t u g u e s e ;   P o r t u g u e s e   ( D O S )                                           | 
 |   `     8 6 1 `   |   u n i c o d e . o r g   |   O E M   I c e l a n d i c ;   I c e l a n d i c   ( D O S )                                               | 
 |   `     8 6 2 `   |   u n i c o d e . o r g   |   O E M   H e b r e w ;   H e b r e w   ( D O S )                                                           | 
 |   `     8 6 3 `   |   u n i c o d e . o r g   |   O E M   F r e n c h   C a n a d i a n ;   F r e n c h   C a n a d i a n   ( D O S )                       | 
 |   `     8 6 4 `   |   u n i c o d e . o r g   |   O E M   A r a b i c ;   A r a b i c   ( 8 6 4 )                                                           | 
 |   `     8 6 5 `   |   u n i c o d e . o r g   |   O E M   N o r d i c ;   N o r d i c   ( D O S )                                                           | 
 |   `     8 6 6 `   |   u n i c o d e . o r g   |   O E M   R u s s i a n ;   C y r i l l i c   ( D O S )                                                     | 
 |   `     8 6 9 `   |   u n i c o d e . o r g   |   O E M   M o d e r n   G r e e k ;   G r e e k ,   M o d e r n   ( D O S )                                 | 
 |   `     8 7 0 `   |     W i n d o w s   7     |   I B M   E B C D I C   M u l t i l i n g u a l / R O E C E   ( L a t i n   2 )                             | 
 |   `     8 7 2 `   |   u n i c o d e . o r g   |   O E M   C y r i l l i c   ( p r i m a r i l y   R u s s i a n )   +   E u r o   S y m b o l               | 
 |   `     8 7 4 `   |   u n i c o d e . o r g   |   W i n d o w s   T h a i                                                                                   | 
 |   `     8 7 5 `   |   u n i c o d e . o r g   |   I B M   E B C D I C   G r e e k   M o d e r n                                                             | 
 |   `     8 9 5 `   |           N L S           |   K a m e n i c k ý   ( C z e c h )   M S - D O S                                                           | 
 |   `     9 3 2 `   |   u n i c o d e . o r g   |   J a p a n e s e   S h i f t - J I S                                                                       | 
 |   `     9 3 6 `   |   u n i c o d e . o r g   |   S i m p l i f i e d   C h i n e s e   G B K                                                               | 
 |   `     9 4 9 `   |   u n i c o d e . o r g   |   K o r e a n                                                                                               | 
 |   `     9 5 0 `   |   u n i c o d e . o r g   |   T r a d i t i o n a l   C h i n e s e   B i g 5                                                           | 
 |   `   1 0 1 0 `   |           I B M           |   I B M   E B C D I C   F r e n c h                                                                         | 
 |   `   1 0 2 6 `   |   u n i c o d e . o r g   |   I B M   E B C D I C   T u r k i s h   ( L a t i n   5 )                                                   | 
 |   `   1 0 4 7 `   |     W i n d o w s   7     |   I B M   E B C D I C   L a t i n   1 / O p e n   S y s t e m                                               | 
 |   `   1 1 3 2 `   |           I B M           |   I B M   E B C D I C   L a o   ( 1 1 3 2   /   1 1 3 3   /   1 3 4 1 )                                     | 
 |   `   1 1 4 0 `   |     W i n d o w s   7     |   I B M   E B C D I C   U S - C a n a d a   ( 0 3 7   +   E u r o   s y m b o l )                           | 
 |   `   1 1 4 1 `   |     W i n d o w s   7     |   I B M   E B C D I C   G e r m a n y   ( 2 0 2 7 3   +   E u r o   s y m b o l )                           | 
 |   `   1 1 4 2 `   |     W i n d o w s   7     |   I B M   E B C D I C   D e n m a r k - N o r w a y   ( 2 0 2 7 7   +   E u r o   s y m b o l )             | 
 |   `   1 1 4 3 `   |     W i n d o w s   7     |   I B M   E B C D I C   F i n l a n d - S w e d e n   ( 2 0 2 7 8   +   E u r o   s y m b o l )             | 
 |   `   1 1 4 4 `   |     W i n d o w s   7     |   I B M   E B C D I C   I t a l y   ( 2 0 2 8 0   +   E u r o   s y m b o l )                               | 
 |   `   1 1 4 5 `   |     W i n d o w s   7     |   I B M   E B C D I C   L a t i n   A m e r i c a - S p a i n   ( 2 0 2 8 4   +   E u r o   s y m b o l )   | 
 |   `   1 1 4 6 `   |     W i n d o w s   7     |   I B M   E B C D I C   U n i t e d   K i n g d o m   ( 2 0 2 8 5   +   E u r o   s y m b o l )             | 
 |   `   1 1 4 7 `   |     W i n d o w s   7     |   I B M   E B C D I C   F r a n c e   ( 2 0 2 9 7   +   E u r o   s y m b o l )                             | 
 |   `   1 1 4 8 `   |     W i n d o w s   7     |   I B M   E B C D I C   I n t e r n a t i o n a l   ( 5 0 0   +   E u r o   s y m b o l )                   | 
 |   `   1 1 4 9 `   |     W i n d o w s   7     |   I B M   E B C D I C   I c e l a n d i c   ( 2 0 8 7 1   +   E u r o   s y m b o l )                       | 
 |   `   1 2 0 0 `   |         m a g i c         |   U n i c o d e   U T F - 1 6 ,   l i t t l e   e n d i a n   ( B M P   o f   I S O   1 0 6 4 6 )           | 
 |   `   1 2 0 1 `   |         m a g i c         |   U n i c o d e   U T F - 1 6 ,   b i g   e n d i a n                                                       | 
 |   `   1 2 5 0 `   |   u n i c o d e . o r g   |   W i n d o w s   C e n t r a l   E u r o p e                                                               | 
 |   `   1 2 5 1 `   |   u n i c o d e . o r g   |   W i n d o w s   C y r i l l i c                                                                           | 
 |   `   1 2 5 2 `   |   u n i c o d e . o r g   |   W i n d o w s   L a t i n   I                                                                             | 
 |   `   1 2 5 3 `   |   u n i c o d e . o r g   |   W i n d o w s   G r e e k                                                                                 | 
 |   `   1 2 5 4 `   |   u n i c o d e . o r g   |   W i n d o w s   T u r k i s h                                                                             | 
 |   `   1 2 5 5 `   |   u n i c o d e . o r g   |   W i n d o w s   H e b r e w                                                                               | 
 |   `   1 2 5 6 `   |   u n i c o d e . o r g   |   W i n d o w s   A r a b i c                                                                               | 
 |   `   1 2 5 7 `   |   u n i c o d e . o r g   |   W i n d o w s   B a l t i c                                                                               | 
 |   `   1 2 5 8 `   |   u n i c o d e . o r g   |   W i n d o w s   V i e t n a m                                                                             | 
 |   `   1 3 6 1 `   |     W i n d o w s   7     |   K o r e a n   ( J o h a b )                                                                               | 
 |   ` 1 0 0 0 0 `   |   u n i c o d e . o r g   |   M A C   R o m a n                                                                                         | 
 |   ` 1 0 0 0 1 `   |     W i n d o w s   7     |   J a p a n e s e   ( M a c )                                                                               | 
 |   ` 1 0 0 0 2 `   |     W i n d o w s   7     |   M A C   T r a d i t i o n a l   C h i n e s e   ( B i g 5 )                                               | 
 |   ` 1 0 0 0 3 `   |     W i n d o w s   7     |   K o r e a n   ( M a c )                                                                                   | 
 |   ` 1 0 0 0 4 `   |     W i n d o w s   7     |   A r a b i c   ( M a c )                                                                                   | 
 |   ` 1 0 0 0 5 `   |     W i n d o w s   7     |   H e b r e w   ( M a c )                                                                                   | 
 |   ` 1 0 0 0 6 `   |   u n i c o d e . o r g   |   G r e e k   ( M a c )                                                                                     | 
 |   ` 1 0 0 0 7 `   |   u n i c o d e . o r g   |   C y r i l l i c   ( M a c )                                                                               | 
 |   ` 1 0 0 0 8 `   |     W i n d o w s   7     |   M A C   S i m p l i f i e d   C h i n e s e   ( G B   2 3 1 2 )                                           | 
 |   ` 1 0 0 1 0 `   |     W i n d o w s   7     |   R o m a n i a n   ( M a c )                                                                               | 
 |   ` 1 0 0 1 7 `   |     W i n d o w s   7     |   U k r a i n i a n   ( M a c )                                                                             | 
 |   ` 1 0 0 2 1 `   |     W i n d o w s   7     |   T h a i   ( M a c )                                                                                       | 
 |   ` 1 0 0 2 9 `   |   u n i c o d e . o r g   |   M A C   L a t i n   2   ( C e n t r a l   E u r o p e a n )                                               | 
 |   ` 1 0 0 7 9 `   |   u n i c o d e . o r g   |   I c e l a n d i c   ( M a c )                                                                             | 
 |   ` 1 0 0 8 1 `   |   u n i c o d e . o r g   |   T u r k i s h   ( M a c )                                                                                 | 
 |   ` 1 0 0 8 2 `   |     W i n d o w s   7     |   C r o a t i a n   ( M a c )                                                                               | 
 |   ` 1 2 0 0 0 `   |         m a g i c         |   U n i c o d e   U T F - 3 2 ,   l i t t l e   e n d i a n   b y t e   o r d e r                           | 
 |   ` 1 2 0 0 1 `   |         m a g i c         |   U n i c o d e   U T F - 3 2 ,   b i g   e n d i a n   b y t e   o r d e r                                 | 
 |   ` 2 0 0 0 0 `   |     W i n d o w s   7     |   C N S   T a i w a n   ( C h i n e s e   T r a d i t i o n a l )                                           | 
 |   ` 2 0 0 0 1 `   |     W i n d o w s   7     |   T C A   T a i w a n                                                                                       | 
 |   ` 2 0 0 0 2 `   |     W i n d o w s   7     |   E t e n   T a i w a n   ( C h i n e s e   T r a d i t i o n a l )                                         | 
 |   ` 2 0 0 0 3 `   |     W i n d o w s   7     |   I B M 5 5 5 0   T a i w a n                                                                               | 
 |   ` 2 0 0 0 4 `   |     W i n d o w s   7     |   T e l e T e x t   T a i w a n                                                                             | 
 |   ` 2 0 0 0 5 `   |     W i n d o w s   7     |   W a n g   T a i w a n                                                                                     | 
 |   ` 2 0 1 0 5 `   |     W i n d o w s   7     |   W e s t e r n   E u r o p e a n   I A 5   ( I R V   I n t e r n a t i o n a l   A l p h a b e t   5 )     | 
 |   ` 2 0 1 0 6 `   |     W i n d o w s   7     |   I A 5   G e r m a n   ( 7 - b i t )                                                                       | 
 |   ` 2 0 1 0 7 `   |     W i n d o w s   7     |   I A 5   S w e d i s h   ( 7 - b i t )                                                                     | 
 |   ` 2 0 1 0 8 `   |     W i n d o w s   7     |   I A 5   N o r w e g i a n   ( 7 - b i t )                                                                 | 
 |   ` 2 0 1 2 7 `   |         m a g i c         |   U S - A S C I I   ( 7 - b i t )                                                                           | 
 |   ` 2 0 2 6 1 `   |     W i n d o w s   7     |   T . 6 1                                                                                                   | 
 |   ` 2 0 2 6 9 `   |     W i n d o w s   7     |   I S O   6 9 3 7   N o n - S p a c i n g   A c c e n t                                                     | 
 |   ` 2 0 2 7 3 `   |     W i n d o w s   7     |   I B M   E B C D I C   G e r m a n y                                                                       | 
 |   ` 2 0 2 7 7 `   |     W i n d o w s   7     |   I B M   E B C D I C   D e n m a r k - N o r w a y                                                         | 
 |   ` 2 0 2 7 8 `   |     W i n d o w s   7     |   I B M   E B C D I C   F i n l a n d - S w e d e n                                                         | 
 |   ` 2 0 2 8 0 `   |     W i n d o w s   7     |   I B M   E B C D I C   I t a l y                                                                           | 
 |   ` 2 0 2 8 4 `   |     W i n d o w s   7     |   I B M   E B C D I C   L a t i n   A m e r i c a - S p a i n                                               | 
 |   ` 2 0 2 8 5 `   |     W i n d o w s   7     |   I B M   E B C D I C   U n i t e d   K i n g d o m                                                         | 
 |   ` 2 0 2 9 0 `   |     W i n d o w s   7     |   I B M   E B C D I C   J a p a n e s e   K a t a k a n a   E x t e n d e d                                 | 
 |   ` 2 0 2 9 7 `   |     W i n d o w s   7     |   I B M   E B C D I C   F r a n c e                                                                         | 
 |   ` 2 0 4 2 0 `   |     W i n d o w s   7     |   I B M   E B C D I C   A r a b i c                                                                         | 
 |   ` 2 0 4 2 3 `   |     W i n d o w s   7     |   I B M   E B C D I C   G r e e k                                                                           | 
 |   ` 2 0 4 2 4 `   |     W i n d o w s   7     |   I B M   E B C D I C   H e b r e w                                                                         | 
 |   ` 2 0 8 3 3 `   |     W i n d o w s   7     |   I B M   E B C D I C   K o r e a n   E x t e n d e d                                                       | 
 |   ` 2 0 8 3 8 `   |     W i n d o w s   7     |   I B M   E B C D I C   T h a i                                                                             | 
 |   ` 2 0 8 6 6 `   |     W i n d o w s   7     |   R u s s i a n   C y r i l l i c   ( K O I 8 - R )                                                         | 
 |   ` 2 0 8 7 1 `   |     W i n d o w s   7     |   I B M   E B C D I C   I c e l a n d i c                                                                   | 
 |   ` 2 0 8 8 0 `   |     W i n d o w s   7     |   I B M   E B C D I C   C y r i l l i c   R u s s i a n                                                     | 
 |   ` 2 0 9 0 5 `   |     W i n d o w s   7     |   I B M   E B C D I C   T u r k i s h                                                                       | 
 |   ` 2 0 9 2 4 `   |     W i n d o w s   7     |   I B M   E B C D I C   L a t i n   1 / O p e n   S y s t e m   ( 1 0 4 7   +   E u r o   s y m b o l )     | 
 |   ` 2 0 9 3 2 `   |     W i n d o w s   7     |   J a p a n e s e   ( J I S   0 2 0 8 - 1 9 9 0   a n d   0 2 1 2 - 1 9 9 0 )                               | 
 |   ` 2 0 9 3 6 `   |     W i n d o w s   7     |   S i m p l i f i e d   C h i n e s e   ( G B 2 3 1 2 - 8 0 )                                               | 
 |   ` 2 0 9 4 9 `   |     W i n d o w s   7     |   K o r e a n   W a n s u n g                                                                               | 
 |   ` 2 1 0 2 5 `   |     W i n d o w s   7     |   I B M   E B C D I C   C y r i l l i c   S e r b i a n - B u l g a r i a n                                 | 
 |   ` 2 1 0 2 7 `   |           N L S           |   E x t e n d e d / E x t   A l p h a   L o w e r c a s e                                                   | 
 |   ` 2 1 8 6 6 `   |     W i n d o w s   7     |   U k r a i n i a n   C y r i l l i c   ( K O I 8 - U )                                                     | 
 |   ` 2 8 5 9 1 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 1   L a t i n   1   ( W e s t e r n   E u r o p e a n )                                 | 
 |   ` 2 8 5 9 2 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 2   L a t i n   2   ( C e n t r a l   E u r o p e a n )                                 | 
 |   ` 2 8 5 9 3 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 3   L a t i n   3                                                                       | 
 |   ` 2 8 5 9 4 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 4   B a l t i c                                                                         | 
 |   ` 2 8 5 9 5 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 5   C y r i l l i c                                                                     | 
 |   ` 2 8 5 9 6 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 6   A r a b i c                                                                         | 
 |   ` 2 8 5 9 7 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 7   G r e e k                                                                           | 
 |   ` 2 8 5 9 8 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 8   H e b r e w   ( I S O - V i s u a l )                                               | 
 |   ` 2 8 5 9 9 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 9   T u r k i s h                                                                       | 
 |   ` 2 8 6 0 0 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 1 0   L a t i n   6                                                                     | 
 |   ` 2 8 6 0 1 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 1 1   L a t i n   ( T h a i )                                                           | 
 |   ` 2 8 6 0 3 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 1 3   L a t i n   7   ( E s t o n i a n )                                               | 
 |   ` 2 8 6 0 4 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 1 4   L a t i n   8   ( C e l t i c )                                                   | 
 |   ` 2 8 6 0 5 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 1 5   L a t i n   9                                                                     | 
 |   ` 2 8 6 0 6 `   |   u n i c o d e . o r g   |   I S O   8 8 5 9 - 1 5   L a t i n   1 0                                                                   | 
 |   ` 2 9 0 0 1 `   |     W i n d o w s   7     |   E u r o p a   3                                                                                           | 
 |   ` 3 8 5 9 8 `   |     W i n d o w s   7     |   I S O   8 8 5 9 - 8   H e b r e w   ( I S O - L o g i c a l )                                             | 
 |   ` 4 7 4 5 1 `   |   u n i c o d e . o r g   |   A t a r i   S T / T T                                                                                     | 
 |   ` 5 0 2 2 0 `   |     W i n d o w s   7     |   I S O   2 0 2 2   J I S   J a p a n e s e   w i t h   n o   h a l f w i d t h   K a t a k a n a           | 
 |   ` 5 0 2 2 1 `   |     W i n d o w s   7     |   I S O   2 0 2 2   J I S   J a p a n e s e   w i t h   h a l f w i d t h   K a t a k a n a                 | 
 |   ` 5 0 2 2 2 `   |     W i n d o w s   7     |   I S O   2 0 2 2   J a p a n e s e   J I S   X   0 2 0 1 - 1 9 8 9   ( 1   b y t e   K a n a - S O / S I ) | 
 |   ` 5 0 2 2 5 `   |     W i n d o w s   7     |   I S O   2 0 2 2   K o r e a n                                                                             | 
 |   ` 5 0 2 2 7 `   |     W i n d o w s   7     |   I S O   2 0 2 2   S i m p l i f i e d   C h i n e s e                                                     | 
 |   ` 5 1 9 3 2 `   |     W i n d o w s   7     |   E U C   J a p a n e s e                                                                                   | 
 |   ` 5 1 9 3 6 `   |     W i n d o w s   7     |   E U C   S i m p l i f i e d   C h i n e s e                                                               | 
 |   ` 5 1 9 4 9 `   |     W i n d o w s   7     |   E U C   K o r e a n                                                                                       | 
 |   ` 5 2 9 3 6 `   |     W i n d o w s   7     |   H Z - G B 2 3 1 2   S i m p l i f i e d   C h i n e s e                                                   | 
 |   ` 5 4 9 3 6 `   |     W i n d o w s   7     |   G B 1 8 0 3 0   S i m p l i f i e d   C h i n e s e   ( 4   b y t e )                                     | 
 |   ` 5 7 0 0 2 `   |     W i n d o w s   7     |   I S C I I   D e v a n a g a r i                                                                           | 
 |   ` 5 7 0 0 3 `   |     W i n d o w s   7     |   I S C I I   B e n g a l i                                                                                 | 
 |   ` 5 7 0 0 4 `   |     W i n d o w s   7     |   I S C I I   T a m i l                                                                                     | 
 |   ` 5 7 0 0 5 `   |     W i n d o w s   7     |   I S C I I   T e l u g u                                                                                   | 
 |   ` 5 7 0 0 6 `   |     W i n d o w s   7     |   I S C I I   A s s a m e s e                                                                               | 
 |   ` 5 7 0 0 7 `   |     W i n d o w s   7     |   I S C I I   O r i y a                                                                                     | 
 |   ` 5 7 0 0 8 `   |     W i n d o w s   7     |   I S C I I   K a n n a d a                                                                                 | 
 |   ` 5 7 0 0 9 `   |     W i n d o w s   7     |   I S C I I   M a l a y a l a m                                                                             | 
 |   ` 5 7 0 1 0 `   |     W i n d o w s   7     |   I S C I I   G u j a r a t i                                                                               | 
 |   ` 5 7 0 1 1 `   |     W i n d o w s   7     |   I S C I I   P u n j a b i                                                                                 | 
 |   ` 6 5 0 0 0 `   |         m a g i c         |   U n i c o d e   ( U T F - 7 )                                                                             | 
 |   ` 6 5 0 0 1 `   |         m a g i c         |   U n i c o d e   ( U T F - 8 )                                                                             | 
 
 ` u n i c o d e . o r g `   r e f e r s   t o   t h e   U n i c o d e   C o n s o r t i u m   P u b l i c   M a p p i n g s ,   a   d a t a b a s e   o f 
 v a r i o u s   m a p p i n g s   b e t w e e n   u n i c o d e   c h a r a c t e r s   a n d   r e s p e c t i v e   c h a r a c t e r   s e t s .     T h e 
 t a b l e s   a r e   p r o c e s s e d   b y   a   f e w   s c r i p t s   i n   t h e   b u i l d   p r o c e s s . 
 
 ` I B M `   r e f e r s   t o   t h e   I B M   c o d e d   c h a r a c t e r   s e t   d a t a b a s e .     E v e n   t h o u g h   I B M   u s e s   a 
 d i f f e r e n t   n u m b e r i n g   s c h e m e   f r o m   W i n d o w s ,   t h e   I B M   n u m b e r s   a r e   u s e d   w h e n   t h e r e   i s 
 n o   c o n f l i c t .     T h e   t a b l e s   a r e   m a n u a l l y   g e n e r a t e d   f r o m   t h e   s y m b o l   P D F s . 
 
 ` W i n d o w s   7 `   r e f e r s   t o   d i r e c t   i n s p e c t i o n   o f   W i n d o w s   7   m a c h i n e s   u s i n g   . N E T   c l a s s 
 ` S y s t e m . T e x t . E n c o d i n g ` .     T h e   e n c l o s e d   ` M a k e E n c o d i n g . c s `   C #   p r o g r a m   b r u t e - f o r c e s 
 c o d e   p a g e s .     M a k e E n c o d i n g . c s   d e v i a t e s   f r o m   u n i c o d e . o r g   i n   s o m e   c a s e s .   W h e n   t h e y 
 m a p   a   g i v e n   c o d e   t o   d i f f e r e n t   c h a r a c t e r s ,   u n i c o d e . o r g   v a l u e   i s   u s e d .   W h e n 
 u n i c o d e . o r g   d o e s   n o t   p r e s c r i b e   a   v a l u e ,   M a k e E n c o d i n g . c s   v a l u e   i s   u s e d . 
 
 ` N L S `   r e f e r s   t o   t h e   N a t i o n a l   L a n g u a g e   S u p p o r t   f i l e s   s u p p l i e d   i n   v a r i o u s   v e r s i o n s 
 o f   W i n d o w s .     I n   o l d e r   v e r s i o n s   o f   W i n d o w s   ( e . g .   W i n d o w s   9 8 )   t h e s e   f i l e s   f o l l o w e d 
 t h e   n a m e   p a t t e r n   ` C P _ # . N L S ` ,   b u t   n e w e r   v e r s i o n s   u s e   t h e   n a m e   p a t t e r n   ` C _ # . N L S ` . 
 
 # #   S o u r c e s 
 
 -   [ U n i c o d e   C o n s o r t i u m   P u b l i c   M a p p i n g s ] ( h t t p : / / w w w . u n i c o d e . o r g / P u b l i c / M A P P I N G S / ) 
 -   [ W i n d o w s   C o d e   P a g e   E n u m e r a t i o n ] ( h t t p : / / m s d n . m i c r o s o f t . c o m / e n - u s / l i b r a r y / c c 1 9 5 0 5 1 . a s p x ) 
 -   [ W i n d o w s   C o d e   P a g e   I d e n t i f i e r s ] ( h t t p : / / m s d n . m i c r o s o f t . c o m / e n - u s / l i b r a r y / w i n d o w s / d e s k t o p / d d 3 1 7 7 5 6 . a s p x ) 
 -   [ I B M   C o d e d   C h a r a c t e r   S e t s ] ( h t t p s : / / w w w - 0 1 . i b m . c o m / s o f t w a r e / g l o b a l i z a t i o n / c c s i d / c c s i d _ r e g i s t e r e d . h t m l ) 
 
 # #   B a d g e s 
 
 [ ! [ B u i l d   S t a t u s ] ( h t t p s : / / t r a v i s - c i . o r g / S h e e t J S / j s - c o d e p a g e . s v g ? b r a n c h = m a s t e r ) ] ( h t t p s : / / t r a v i s - c i . o r g / S h e e t J S / j s - c o d e p a g e ) 
 [ ! [ C o v e r a g e   S t a t u s ] ( h t t p s : / / c o v e r a l l s . i o / r e p o s / S h e e t J S / j s - c o d e p a g e / b a d g e . p n g ) ] ( h t t p s : / / c o v e r a l l s . i o / r / S h e e t J S / j s - c o d e p a g e ) 
 [ ! [ A n a l y t i c s ] ( h t t p s : / / g a - b e a c o n . a p p s p o t . c o m / U A - 3 6 8 1 0 3 3 3 - 1 / S h e e t J S / j s - c o d e p a g e ? p i x e l ) ] ( h t t p s : / / g i t h u b . c o m / S h e e t J S / j s - c o d e p a g e ) 
 