This would be the simplest non-inverting, active low circuit:

TX high: opto off, output pulled high.
TX low: opto on, output pulled low.
This would be the simplest non-inverting, active low circuit:

TX high: opto off, output pulled high.
TX low: opto on, output pulled low.