Commit 9c88fdc1 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Scipt SQL v12.0.0 : corrections des homoglyphes

parent 811c8894
Loading
Loading
Loading
Loading
+15 −0
Changes for doc/release-notes/v12/12.0.0/05_these.sql: 15 added lines, 0 removed lines.
Original line number Diff line number Diff line
--
-- Corrections des homoglyphes
--
-- Sauvegarde des tables originales
create table metadonnee_these__sav_homoglyphes as select * from metadonnee_these ;
create table these__sav_homoglyphes as select * from these ;
-- Remplacements
update metadonnee_these set resume =               translate(resume,               unistr('\u0396\u0397\u0399\u039A\u039C\u039D\u039F\u03A1\u03A4\u03A5\u03A7\u03BF'), 'ZHIKMNOPTYXo'),
                            resume_anglais =       translate(resume_anglais,       unistr('\u0396\u0397\u0399\u039A\u039C\u039D\u039F\u03A1\u03A4\u03A5\u03A7\u03BF'), 'ZHIKMNOPTYXo'),
                            titre =                translate(titre,                unistr('\u0396\u0397\u0399\u039A\u039C\u039D\u039F\u03A1\u03A4\u03A5\u03A7\u03BF'), 'ZHIKMNOPTYXo'),
                            titre_autre_langue =   translate(titre_autre_langue,   unistr('\u0396\u0397\u0399\u039A\u039C\u039D\u039F\u03A1\u03A4\u03A5\u03A7\u03BF'), 'ZHIKMNOPTYXo'),
                            mots_cles_libres_fr =  translate(mots_cles_libres_fr,  unistr('\u0396\u0397\u0399\u039A\u039C\u039D\u039F\u03A1\u03A4\u03A5\u03A7\u03BF'), 'ZHIKMNOPTYXo'),
                            mots_cles_libres_ang = translate(mots_cles_libres_ang, unistr('\u0396\u0397\u0399\u039A\u039C\u039D\u039F\u03A1\u03A4\u03A5\u03A7\u03BF'), 'ZHIKMNOPTYXo'),
                            mots_cles_rameau =     translate(mots_cles_rameau,     unistr('\u0396\u0397\u0399\u039A\u039C\u039D\u039F\u03A1\u03A4\u03A5\u03A7\u03BF'), 'ZHIKMNOPTYXo');
update these set            titre =                translate(titre,                unistr('\u0396\u0397\u0399\u039A\u039C\u039D\u039F\u03A1\u03A4\u03A5\u03A7\u03BF'), 'ZHIKMNOPTYXo');