mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Update deprecated UTF8 option for dictfmt
This commit is contained in:
parent
515f8b5e22
commit
553095afaa
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user