I have never had a problem with this. As stated above, the airline computer will remove all non-alpha characters such as hyphens or spaces and will compress everything together. Ms Sandra Smith-Jones becomes SMITHJONES/SANDRA/MS or something similar. I wouldn't worry about it.