using charsets from translation class and defaulting to iso-8859-1, as thats what windows uses

This commit is contained in:
Ralf Becker 2010-06-04 12:09:55 +00:00
parent bb76ce8cc1
commit 286a412a9c

View File

@ -166,20 +166,15 @@ class addressbook_hooks
'default'=> 'iso-8859-1',
);
$selectCharSet = array(
'utf-8' => 'UTF-8',
'iso-8859-1' => 'ISO-8859-1',
);
$settings['vcard_charset'] = array(
'type' => 'select',
'label' => 'Charset for the vCard export',
'name' => 'vcard_charset',
'values' => $selectCharSet,
'values' => translation::get_installed_charsets(),
'help' => 'Which charset should be used for the vCard export.',
'xmlrpc' => True,
'admin' => false,
'default'=> 'utf-8',
'default'=> 'iso-8859-1',
);
if ($GLOBALS['egw_info']['server']['contact_repository'] != 'ldap')