Sea of Thieves currently doesn't support Gamertags with special characters causing it to use your "Classic" Xbox Gamertag if your new one has special characters.
Would be a nice feature to implement.
OR..just allow people to use their steam username or custom usernames for each pirate they create.