Fixed MaxLengthValidatior so that the validation matches the javascript count correctly, even with special characters