did text encoding