Check to see if message is already encoded in utf8

Adding requirement to if statement to check if message matches UTF-8 encoding via regex. This will prevent encoding errors when converting UTF-8 to UTF-8.
I'm not sure this will work as expected. What if the user changes "self::charset" to something other than UTF8?