I looked at it, but you do need a scheme to handle invalid unicode… I would just handle that on a “per chunk” basis by either dropping or fitting proper range. Here’s an example output with removal:
CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.