Most word processing applications auto-substitute EM dashes as appropriate - some do it for two consecutive hyphens, iirc. I don't know if they substitute EN dashes automatically ... I don't know if there's a logic for that without understanding the text.