[ticket/11711] Inform user of unsupported characters while posting

Created PR for develop-ascraeus as discussed with nickvergessen.

Ticket: https://tracker.phpbb.com/browse/PHPBB3-11711
Suggestions on where to put that function?