I think that you are trying to solve the wrong sort of problem.
The first thing is to make a good physical connection between the end points and my guess is that after that there is no need for any elaborate FEC systems. Some CRC may be needed to detect some random errors perhaps once a day or once a week.
The RS-232 standard was originally designed for low speed connections between a computer and a modem in the same room. Using it for long distance or high speed connections is just asking for troubles.
One of the worst things about RS-232 is that it is unbalanced (i.e. the signal is referenced to signal ground) but if there is a galvanic connection between the ends and due to quite large ground potential differences between the ends, a large ground loop current may flow in the signal ground, causing all kinds of troubles, especially, if the link ends are in different buildings.
One way around this is using optoisolators at least at one end. This will break the ground loop current.
However, if optoisolation is required and the speeds are quite low, as in this case, it would be even simpler to use the traditional 20 mA current loop system. I have used such systems at 9600 bit/s in a system with slip rings and with 220 V 10 A mains in adjacent rings. This required some hacking in the protocol retransmission system to avoid backlogs when one data transmission direction was temporarily off due to dirty rings and some arching in the mains rings. Normally
20 mA systems work very well in less demanding applications.A more modern system is to use the differential RS-422 connection,which works reliably even on high speeds, but again, galvanic isolation is preferred and thus, you have to be careful about cable shield grounding (usually only at one end).
With speeds as low as 1200 bit/s you should be able to communicate for a kilometer or more.
It is quite hard for me to think about a situation in a wired slow speed connection in which FEC is needed.
The situation is radically different if a radio link is involved, in which case some interleaving and FEC is justified in most cases, but I haven't seen any references to radio links in this thread.
Paul