Detecting special characters in string

You can use strchr() to find the character(s)

Simple demo

char buffer[10] = "test ";

void setup()
{
  Serial.begin(115200);
  while (!Serial);  // code written for a Leonardo as the target board
  Serial.println("ready");

  // add the strange characters
  buffer[5] = 0xC2;
  buffer[6] = 0xB0;

  // print
  Serial.println(buffer);

  // find the 0xB0
  char *ptr = strchr(buffer, 0xB0);

  // if found
  if (ptr != NULL)
  {
    // print a message
    Serial.println("0xB0 found");
    // replace
    *ptr = '!';
    // print updated buffer
    Serial.println(buffer);
  }
  // if not found
  else
  {
    // print a message
    Serial.println("0xB0 not found");
  }
}

void loop()
{
}

The above code will find the 0xB0 and replace it with '!'.