Commit 553095af authored by Ngô Ngọc Đức Huy's avatar Ngô Ngọc Đức Huy Committed by Alyssa Ross
Browse files

Update deprecated UTF8 option for dictfmt

parent 515f8b5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -767,7 +767,7 @@ xml.sax.parse(f, TemplateHandler())
f.close()

f = os.popen("bunzip2 -c %s" % fn, "r")
out = os.popen("dictfmt -p wiktionary-en --locale en_US.UTF-8 --columns 0 -u http://en.wiktionary.org", "w")
out = os.popen("dictfmt -p wiktionary-en --utf8 --columns 0 -u http://en.wiktionary.org", "w")

out.write("%%h English Wiktionary\n%s" % info)
xml.sax.parse(f, WordHandler())