Remove any invalid unicode characters to allow it to sync properly.
| 995 | |
| 996 | // Remove any invalid unicode characters to allow it to sync properly. |
| 997 | QByteArray EnmlFormatter::removeInvalidUnicode(QByteArray content) { |
| 998 | QString c(content); |
| 999 | c = c.remove(QChar( 0x1b ), Qt::CaseInsensitive); |
| 1000 | return c.toUtf8(); |
| 1001 | } |
| 1002 | |
| 1003 | |
| 1004 |