[snip] is there a way to get the current locale being used by php and the encoding it uses? [/snip] Do you mean the locale where the computer connecting to the service is using PHP? Remember, PHP is server side and has no way of gathering data from a 'local' machine unless coupled with something like JavaScript. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php