Solved Odd characters on signs affecting `equalsIgnoreCase`

Discussion in 'Spigot Plugin Development' started by dan14941, May 19, 2016.

  1. Hello,
    I'm trying to test if a sign contains a string but when I check what is on the sign I get this, http://i.imgur.com/Vkw1kTj.png, these odd characters are being added onto the sign and I'm not sure why. How do I fix this.
     
  2. That's probably the color ? '§'. And to fix it :
    Code (Text):

    ChatColor.stripColor(string);
     
     
  3. Its not, the § char shows up as it is.