Fix EZP-21410: object name limit does not support multibyte charset

<del>BC: This change also introduces support for trimming away misc comma and dot symbols</del> -> moved to new [Story](https://jira.ez.no/browse/EZP-21418)