Multibyte fix for unicode characters and also MaxLength