Consider a FORTRAN program
РRINТ 1 1 FОRМАТ(1Х,’ GООD ВУЕ НЕLLО, WОRLD’/’+ХХХХ ХХХ’) ЕND
(YMMV re the number of leading spaces to align Xes with "GOOD BYE")
Its output, using the SIMH convention of denoting overprinting with the carriage return character, is
GООD ВУЕ НЕLLО, WОRLD^M ХХХХ ХХХ
My question is, how to convert it efficiently and reliably to HTML to display as intended?
Searching for "HTML overprint" yields irrelevant results or examples of very fancy overprinting using individual CSS specifications for each letter; obviously not what I want. Adding "fortran" yields descriptions of how to achieve overprinting in FORTRAN, not how to render the result in HTML.