Setup charCode even if character not printing