in reply to Perl and Postgresql: Invalid byte sequence for encoding "UTF8"
Encode has functions for error detection and recovery.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊