special case long s in transform of charmap. fix bug in ents