Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Internationalisation
-
Labels:None
Description
There are two suspicious constants in packages/Validate.php (here interpreted in ISO-8859-1 encoding):
define('VALIDATE_EALPHA_LOWER', VALIDATE_ALPHA_LOWER . 'áéíóúàèìòùäëïöüâêîôûñç');
define('VALIDATE_EALPHA_UPPER', VALIDATE_ALPHA_UPPER . 'ÁÉÍÓÚÀÈÌÒÙÄËÏÖÜÂÊÎÔÛÑÇ');
EALPHA doesn?t seem to be used anywhere in CiviCRM.
Assuming these are in ISO-8859-1 (in this encoding the constants seem to cover all ?western? special characters and nothing more), they are useless for (UTF-8ish) CiviCRM.