Mbox.rb replacing underscores with spaces

I personally haven’t seen this, but it might depend on the mbox format. If you could provide an example of an email that is messed up and the original input I can take a look and try to figure it out.