Appendix D. Magnetic Stripe Standard Data
Formats
International Standards Organization (ISO) Credit Card
Format
Track 1
Field ID
Contents
Length
Character
a
Start Sentinel
1
b
Format Code “B”
1
c
Account Number
13 or 16
d
Separator “^”
1
e
Cardholder Name
variable
f
Separator “^”
1
g
Expiration date
4
h
Optional Discretionary data
variable
i
End Sentinel
1
j
Linear Redundancy Check
(LRC) Character
1
Track 2
a
Start Sentinel
1
b
Account Number
13 or 16
c
Separator “=”
1
d
Expiration date “YYMM”
4
e
Optional discretionary data
variable
f
End Sentinel
1
g
Linear Redundancy Check
(LRC) Character
1
Appendix C. Non-printable ASCII Characters
Character
Keystroke
NULL
\nul
SOH
\soh
STX
\stx
ETX
\etx
EOT
\eot
ENQ
\enq
ACK
\ack
BEL
\bel
BS
\bs
HT
\ht
LF
\lf
VT
\vt
FF
\ff
CR
\cr
SO
\so
SI
\si
DLE
\dle
DC1
\dc1
DC2
\dc2
DC3
\dc3
DC4
\dc4
NAK
\nak
SYN
\syn
ETB
\etb
CAN
\can
EM
\em
SUB
\sub
ESC
\esc
FS
\fs
GS
\gs
RS
\rs
US
\us
29
30