The foil referred to in Classic Traveller (and T20) is not the modern fencing foil.
It is what is typically called a small sword. This is a shorted, lighter version of the rapier. Easier to carry, but still a viable weapon.
It is important to remember that there is no best sword.