No special programming, but there have been instances where I needed to add a circuit like this to the serial data as George suggests. The worst offenders have been the Cruise Commander M installations for me.
This is my buffer for fixing these issues.