finished draft of codec lens, ascii and iso8859 are not codecs, so they are given special functions