The following new message has been posted on Phorm Support Forum at <http://www.phorm.com/support/>. *************************************************************************** MESSAGE: (#2842) Removing accents + Uppercase <http://www.phorm.com/support/?rev=2842> AUTHOR: Silvia DATE: June 12, 2003 at 5:24 p.m. EST In case somebody else needs to remove accents like in the data and then pass them to uppercase (like "ê" will become "E"), I use two functions in my phorm 3.0.4: removeaccents and strtoupper (the latter being a generic php function). I had this at the beginning of the config file: function removeaccents($string){ return strtr( strtr($string, '?????ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÑÒÓÔÕÖØÙÚÛÜÝàáâãäåçèéêëìíîïñòóôõöøùúûüýÿ', 'SZszYAAAAAACEEEEIIIINOOOOOOUUUUYaaaaaaceeeeiiiinoooooouuuuyy'), array('Þ' => 'TH', 'þ' => 'th', 'Ð' => 'DH', 'ð' => 'dh', 'ß' => 'ss', '?' => 'OE', '?' => 'oe', 'Æ' => 'AE', 'æ' => 'ae', 'µ' => 'u')); }; Then I use both functions. Example : $name = removeaccents($name); $name = strtoupper($name); I'm sure there must be some more elegant way to do it, but it works ! I had to do this in order to comply with bulk mail in the French Post Office. silvia *************************************************************************** This is an automatically-generated notice. If you'd like to be removed from the mailing list, please visit Phorm Support Forum at <http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx If you wish to respond to this message, please post your response directly to the board. Thank you! ------------------------------------------------- You are receiving this message because you are subscribed to the Phorm mailing list. To send messages to the mailing list, simply send email to phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe from the list by sending email to phorm-request@xxxxxxxxxxxxx with 'unsubscribe' in the SUBJECT field.