Patch against 1.3.5 is below, though I'm not sure if it would be more
appropriate amongst the 'case 130' part - is there any way to test the
bad characters?

It probably doesn't crash if it sees spaces and + and - in the name.  Hand-edit
some GPX and ship to and from the unit and see if it works.  Key questions to
ask include:

Is A-B and AB the same name?
Is AB- and AB the same name?
Are A-B and AB- the same name?

If the answer to all three of those questions is "no", then your fix is right.  You
could also test for spaces and plus signs if you're into that kind of thoroughness.

I'll go ahead and commit this.  If it turns out that it's closer to the other set, we can move it.