Nathan Hamblen wrote:
problem has an easy solution: French keyboards also have a a dash key
They don't, at least normal PC keyboards don't.
- Replace any ' -- ' with the UTF-8 sequence equivalent to
' – ' 2. Replace any '--' between numbers with '–' alone. 3. Replace any ' --- ' with the UTF-8 sequence equivalent to ' — '
Sounds like LaTeX.