This problem with this sign was solved by replacing the text with an empty value.
My function where I applied substitution and formatting, the formatting function is listed by the link
void MainWindow::getLine(QByteArray output)
{
QTextCodec *codec = QTextCodec::codecForName("UTF-8");
QString pStr = codec->toUnicode(output.data());
pStr.replace(QString("[2K"), QString(""));
setTextTermFormatting(ui->textEdit, pStr);
}
Unfortunately, the comment can't convey exactly which character is being replaced (there is a picture in my question above of what the sign should look like), but the Qt syntax takes this sign properly and everything works, so if you will copy my code, be sure to change the replaced value.