Optical detection of information at the sub-wavelength level