Recently, since our upgrade from 7.0.4 to 7.4.4 the JIRA mail handler has been rejecting emails with unrecognized characters. These include general emoticons from outlook (basic
after outlook converts the keystroke to an image).
The database collation is utf8_general_ci (and is unchanged), and the version of MySQL is 5.6.13 (unchanged).
The error message is
(SQL Exception while executing the following:INSERT INTO jiraaction (ID, issueid, AUTHOR, actiontype, actionlevel, rolelevel, actionbody, CREATED, UPDATEAUTHOR, UPDATED, actionnum) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Incorrect string value: '\xF0\x9F\x98\x81\x0A\x0A...' for column 'actionbody' at row 1))"
My expectation would be that these would be saved as "unprintables" and either rendered as "?", or stripped out if they could not be handled.
For obvious reasons, we cannot expect the users to only select a specific subset of characters, and cannot afford to be dealing with dropped messages.
What is this change in behaviour, and how do we rectify it?