[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
Use a sub-case instead of repeating the check.