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

BC: This change also introduces support for trimming away misc comma and dot symbols