add conversion from ISO88591 since the default dict's in that format.

This commit is contained in:
Andy2 2010-12-13 20:09:09 -08:00
parent dc807c948a
commit bb0a79914b

View file

@ -30,7 +30,8 @@ SOURCEDICT ?= $(XWDICTPATH)/German/HansGerman.dict.gz
$(XWLANG)Main.dict.gz: $(SOURCEDICT) Makefile
zcat $< \
| tr [a-zäöü] [A-ZÄÖÜ] \
| iconv -f iso88591 -t utf8 \
| sed 's,.,\U\0,g' \
| sed -e 's/ß/SS/g' \
| grep '^[A-ZÄÖÜ]*$$' \
| gzip -c > $@