From daa0c7964215859bac0908cec35fb84760f60b73 Mon Sep 17 00:00:00 2001 From: Frederic Demians Date: Sun, 13 Apr 2008 20:23:53 +0200 Subject: [PATCH] Correct bad encoding of fr-FR data loaded by web installer Some informations imported into MySQL DB by web installer were wrongly encoded. It was the case for example with opac_news table. Signed-off-by: Joshua Ferraro --- installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql | 2 ++ installer/data/mysql/fr-FR/2-Optionel/patron_categories.sql | 1 + installer/data/mysql/fr-FR/2-Optionel/sample_news.sql | 1 + installer/data/mysql/fr-FR/3-LecturePub/sample_itemtypes.sql | 1 + installer/data/mysql/fr-FR/4-Conservation/sample_itemtypes.sql | 2 ++ 5 files changed, 7 insertions(+) mode change 100644 => 100755 installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql mode change 100644 => 100755 installer/data/mysql/fr-FR/2-Optionel/patron_categories.sql mode change 100644 => 100755 installer/data/mysql/fr-FR/3-LecturePub/sample_itemtypes.sql mode change 100644 => 100755 installer/data/mysql/fr-FR/4-Conservation/sample_itemtypes.sql diff --git a/installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql b/installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql old mode 100644 new mode 100755 index b1b31247f5..2cd644f230 --- a/installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql +++ b/installer/data/mysql/fr-FR/1-Obligatoire/userflags.sql @@ -1,3 +1,5 @@ +SET NAMES utf8; + INSERT INTO `userflags` VALUES(0,'superlibrarian','Accès à toutes les fonctions bibliothécaires, sans limite',0); INSERT INTO `userflags` VALUES(1,'circulate','Circulation',0); INSERT INTO `userflags` VALUES(2,'catalogue','Consultation du catalogue (interface professionnelle)',0); diff --git a/installer/data/mysql/fr-FR/2-Optionel/patron_categories.sql b/installer/data/mysql/fr-FR/2-Optionel/patron_categories.sql old mode 100644 new mode 100755 index 3cc92a8292..22ddcd99f8 --- a/installer/data/mysql/fr-FR/2-Optionel/patron_categories.sql +++ b/installer/data/mysql/fr-FR/2-Optionel/patron_categories.sql @@ -1,3 +1,4 @@ +SET NAMES utf8; INSERT INTO `categories` (`categorycode`, `description`, `enrolmentperiod`, `upperagelimit`, `dateofbirthrequired`, `finetype`, `bulk`, `enrolmentfee`, `overduenoticerequired`, `issuelimit`, `reservefee`, `category_type`) VALUES ('ADULT','Adulte',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','A'), ('ETUD','Etudiant',99,999,18,NULL,NULL,'0.000000',1,NULL,'0.000000','A'), diff --git a/installer/data/mysql/fr-FR/2-Optionel/sample_news.sql b/installer/data/mysql/fr-FR/2-Optionel/sample_news.sql index 98bcb0a05a..2be6788e44 100755 --- a/installer/data/mysql/fr-FR/2-Optionel/sample_news.sql +++ b/installer/data/mysql/fr-FR/2-Optionel/sample_news.sql @@ -1 +1,2 @@ +SET NAMES utf8; INSERT INTO `opac_news` VALUES (1,'Bienvenue dans Koha !','Bienvenue dans Koha 3, la toute nouvelle version du système intégré de gestion de bibliothèque (SIGB) open source de référence. Développé initialement en Nouvelle Zélande et déployé pour la première fois en janvier 2000, Koha est un projet international soutenu par des sociétés de services en logiciels libres et par des bibliothécaires du monde entier.','koha','2008-01-14 03:25:58','2099-01-10',1),(2,'Et maintenant ?','Félicitations ! vous avez désormais une version opérationnelle de Koha. Et maintenant, que faire ?\r\n\r\n','koha','2008-01-14 03:34:45','2099-01-10',2); diff --git a/installer/data/mysql/fr-FR/3-LecturePub/sample_itemtypes.sql b/installer/data/mysql/fr-FR/3-LecturePub/sample_itemtypes.sql old mode 100644 new mode 100755 index 2843766747..cb238129a3 --- a/installer/data/mysql/fr-FR/3-LecturePub/sample_itemtypes.sql +++ b/installer/data/mysql/fr-FR/3-LecturePub/sample_itemtypes.sql @@ -2,6 +2,7 @@ -- -- Contenu de la table `itemtypes` -- +SET NAMES utf8; INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('LIVR', ' Livre', 1, 0.0000, 0, 'Fiction.gif', ''); INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('BD', 'BD', 1, 0.0000, 0, 'MZ.gif', ''); diff --git a/installer/data/mysql/fr-FR/4-Conservation/sample_itemtypes.sql b/installer/data/mysql/fr-FR/4-Conservation/sample_itemtypes.sql old mode 100644 new mode 100755 index 368d904dd2..30428e246f --- a/installer/data/mysql/fr-FR/4-Conservation/sample_itemtypes.sql +++ b/installer/data/mysql/fr-FR/4-Conservation/sample_itemtypes.sql @@ -2,6 +2,8 @@ -- Contenu de la table `itemtypes` -- +SET NAMES utf8; + INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('ARTI', 'Article', 0, 0.0000, 0, 'Pamphlet.gif', ''); INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('MEM', 'Mémoire', 0, 0.0000, 0, 'Faculty Course Materials.gif', ''); INSERT INTO `itemtypes` (`itemtype`, `description`, `renewalsallowed`, `rentalcharge`, `notforloan`, `imageurl`, `summary`) VALUES ('MICR', 'Microfiche', 0, 0.0000, 0, 'Microfiche.gif', ''); -- 2.39.2