summaryrefslogtreecommitdiff
blob: d9431bed2de1598217d9ba7842efb7ed1c9bf130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
From https://bugzilla.redhat.com/show_bug.cgi?id=691958

--- ldapvi-1.7/ldapvi.c
+++ ldapvi-1.7/ldapvi.c
@@ -1414,7 +1414,7 @@ write_file_header(FILE *s, cmdline *cmdline)
 	int nlines = 0;
 
 	if (print_binary_mode == PRINT_UTF8 && !cmdline->ldif) {
-		fputs("# -*- coding: utf-8 -*- vim:encoding=utf-8:\n", s);
+		fputs("# -*- coding: utf-8 -*- \n", s);
 		nlines++;
 	}
 	if (cmdline->ldif) {