class ActiveLdap::Schema::Syntaxes::PrintableString

def validate_normalized_value(value, original_value)

def validate_normalized_value(value, original_value)
  if value.blank?
    return _("empty string")
  end
  if /(#{UNPRINTABLE_CHARACTER})/i =~ value
    format = _("%s has unprintable character: '%s'")
    return format % [original_value.inspect, $1]
  end
  nil
end