handle \b as required by certain badly formatted strings