summaryrefslogtreecommitdiff
blob: 6341120c8eb84a5cf1329175b83deaf3287efeb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Patch for  #378792: dictl should use iconv's //translit suffix


Index: dictd/dictl.in
===================================================================
--- dictd.orig/dictl.in	2008-01-21 22:28:01.000000000 +0100
+++ dictd/dictl.in	2008-01-21 22:28:20.000000000 +0100
@@ -23,7 +23,7 @@
     if test "$DICTL_USE_ICONV"; then
 	# `iconv --help' gives more options than `man iconv' (on my SuSE 9.0 system at least)
 	# the -c makes iconv omit invalid characters from output
-	iconv -c -f $1 -t $2
+	iconv -c -f $1 -t $2//TRANSLIT
     elif test "$DICTL_USE_KONWERT"; then
 	sedexpr='
 		/(CP)?(437|8(5[0257]|6[0-69]|74))/	{ s//cp\2/; q }