A control that stabilizes the transient dynamics of a homoclinic chaotic laser is used to encode discrete sources of information. The controlled trajectory is a complex spiking signal that has a constrained interspike interval, and therefore, the ratio of information transmitted is approximately constant. We also show that the controlled signal that encodes the source contains more information than the source. This property is advantageously used to correct possible errors in the transmission, or to increase the ratio of information per transmitted spike.