Remove '$' delimiters and escape '^'/'_' outside math so they render literally UTF-8 aware: multi-byte characters are copied as intact sequences
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | input_text | |||
| character(len=*), | intent(out) | :: | result_text | |||
| integer, | intent(out) | :: | result_len |