fixed plain text encoding