Update deprecated UTF8 option for dictfmt

This commit is contained in:
Ngô Ngọc Đức Huy 2024-09-13 10:21:37 +07:00 committed by Alyssa Ross
parent 515f8b5e22
commit 553095afaa

View File

@ -767,7 +767,7 @@ xml.sax.parse(f, TemplateHandler())
f.close() f.close()
f = os.popen("bunzip2 -c %s" % fn, "r") 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) out.write("%%h English Wiktionary\n%s" % info)
xml.sax.parse(f, WordHandler()) xml.sax.parse(f, WordHandler())