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

https://sourceforge.net/tracker/index.php?func=detail&aid=2407725&group_id=605&atid=300605

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 }