Measurements of jet charge with dijet events in pp collisions at $\sqrts$ = 8 TeV