[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
This block should probably be a function