class ActiveLdap::Schema::Syntaxes::PostalAddress
def validate_normalized_value(value, original_value)
def validate_normalized_value(value, original_value) if value.blank? return _("empty string") end begin value.unpack("U*") rescue ArgumentError return _("%s has invalid UTF-8 character") % original_value.inspect end nil end