traiter les caractères de type dash

This commit is contained in:
Jephté Clain 2015-02-16 10:45:30 +04:00
parent 33465d757d
commit 88572d9ac4
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
007020000
007020001

View File

@ -1292,6 +1292,7 @@ function _latin1compat() {
# transformer certains caractères UTF-8 en leur équivalent UTF-8 transformable
# en latin1.
LANG=fr_FR.UTF-8 sed $'
s/[\xE2\x80\x90\xE2\x80\x91\xE2\x80\x92\xE2\x80\x93\xE2\x80\x94\xE2\x80\x95]/-/g
s/[]/\x27/g
s/[«»“”]/"/g
s/[\xC2\xA0\xE2\x80\x87\xE2\x80\xAF\xE2\x81\xA0]/ /g