]> git.pld-linux.org Git - packages/MigrationTools.git/blame - MigrationTools-utf8.patch
- rel 8
[packages/MigrationTools.git] / MigrationTools-utf8.patch
CommitLineData
da501cf3
JR
1diff -ur MigrationTools-47/migrate_passwd.pl MigrationTools-47.x/migrate_passwd.pl
2--- MigrationTools-47/migrate_passwd.pl 2009-06-22 14:37:33.091177870 +0200
3+++ MigrationTools-47.x/migrate_passwd.pl 2009-06-22 14:27:03.000000000 +0200
4@@ -39,6 +39,9 @@
5
6 require '/etc/openldap/migrate_common.ph';
7
8+use Text::Iconv;
9+$converter = Text::Iconv->new("UTF-8", "ASCII//TRANSLIT");
10+
11 $PROGRAM = "migrate_passwd.pl";
12 $NAMINGCONTEXT = &getsuffix($PROGRAM);
13
14@@ -70,28 +73,6 @@
15 next if /^#/;
16 next if /^\+/;
17
18