Update core/model/modx/modx.class.php

allow unicode characters additionally