Bonjour,
Je récupère des données à partir d'un fichier XML dont voici la forme
J'insère ensuite ces élements dans ma table SQL:Code:18 MA20100624151710 MA Paris Paris(6 rue Wilson) Statut En_cours Reference MA20100624151710 Domaine Accueil.Secretariat.Fonctions.Administratives Poste Assistant.Commercial.xxxxxxH/Fyyyyyy Intitule Poste d'assistant(e) commerciale PME Mission détail de la mission:<br>Votre mission consitera a...<br>... Profil Détail du profil attendu:<br>Voici les qualités souhaitées...<br>... Lieu PARIS Contrat CDD Remuneration A définir Date_debut 20100731 Duree 1 jour Date_parution 20100624 Attcom_offre QUINTON
Le soucis c'est qu'il ne me récupère pas les accents. Comment faire pour qu'il me remplit correctement ma table offres?Code:
1
2
3
4
5 INSERT INTO `offres` ( `jobid` , `reference` , `client` , `agence` , `Statut` , `Poste` , `Domaine` , `Intitule` , `Lieu` , `Contrat` , `Remuneration` , `Date_debut` , `Duree` , `Mission` , `Profil` , `Date_parution` , `Attcom_offre` ) VALUES ( '18', 'MA20100624151710', 'MA Paris', 'PARIS (6 rue Wilson)', 'Ouverte', 'Assistant Commercial (H/F)', 'Accueil Secretariat Fonctions Administratives', 'Poste d'assistant(e) commerciale PME', 'PARIS', 'CDD', 'A définir', '2010-07-31', '1 jour', 'détail de la mission: Votre mission consitera a... ...', 'Détail du profil attendu: Voici les qualités souhaitées... ...', '2010-06-24', 'QUINTON' );
Voici la structure de ma table 'offres'.
Merci d'avanceCode:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 CREATE TABLE `offres` ( `jobid` int(11) NOT NULL, `reference` varchar(255) DEFAULT NULL, `client` varchar(255) NOT NULL, `agence` varchar(255) NOT NULL, `Statut` varchar(255) NOT NULL, `Poste` varchar(255) DEFAULT NULL, `Domaine` varchar(255) DEFAULT NULL, `Intitule` varchar(255) DEFAULT NULL, `Mission` varchar(255) DEFAULT NULL, `Profil` varchar(255) DEFAULT NULL, `Lieu` varchar(255) DEFAULT NULL, `Contrat` varchar(255) DEFAULT NULL, `Remuneration` varchar(255) DEFAULT NULL, `Date_debut` date DEFAULT NULL, `Duree` varchar(255) DEFAULT NULL, `Date_parution` date DEFAULT NULL, `Attcom_offre` varchar(255) DEFAULT NULL, PRIMARY KEY (`jobid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8