I had an issue when trying to index entities with Solr on Drupal 7 and Drupal 9.
I was indexing Drupal node with FFFE symbol in title.
In the result index query failed with message.
org.apache.solr.common.SolrException: Invalid UTF-8 character 0xfffe at char #148122, byte #147231)
This happens because 0xfffe is illegal symbol for XML, and we need to remove it from XML as well as other symbols.
Any Unicode character is allowed, excluding the surrogate blocks, FFFE, and FFFF (not even as character reference).
https://www.w3.org/TR/xml/#charsets
It looks like very old issue, and this is also happens in Apache Solr module.
I can confirm that I have same issue on D7.
In Drupal 9
filterControlCharacters was moved to solarium library. And I created issue on solarium repository.
Add option to filter to remove unsupported UTF8 symbols.
Closed: won't fix
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.