From 42d5285b7dc4a3947e274f4d2a11a7f349b802e9 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Thu, 6 Nov 2014 06:59:42 +0400 Subject: [PATCH] =?UTF-8?q?ajouter=20des=20caract=C3=A8res=20pour=20latin1?= =?UTF-8?q?compat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ulib/base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ulib/base b/lib/ulib/base index 93d7690..e58853d 100644 --- a/lib/ulib/base +++ b/lib/ulib/base @@ -1156,8 +1156,8 @@ function _latin1compat() { # transformer certains caractères UTF-8 en leur équivalent UTF-8 transformable # en latin1. LANG=fr_FR.UTF-8 sed $' -s/[’]/\x27/g -s/[«»]/"/g +s/[‘’]/\x27/g +s/[«»“”]/"/g s/[\xC2\xA0\xE2\x80\x87\xE2\x80\xAF\xE2\x81\xA0]/ /g ' }