$GLOBALS['meta']['charset'], ); return $valeurs; } function formulaires_configurer_transcodeur_verifier_dist() { include_spip('inc/charsets'); $erreurs = array(); if (!$charset = _request('charset')) { $erreurs['charset'] = _T('info_obligatoire'); } elseif ($charset != 'utf-8' and !load_charset($charset)) { $erreurs['charset'] = _T('utf8_convert_erreur_orig', array('charset' => entites_html($charset))); } return $erreurs; } function formulaires_configurer_transcodeur_traiter_dist() { $res = array('editable' => true); ecrire_meta('charset', _request('charset')); $res['message_ok'] = _T('config_info_enregistree'); return $res; }