This little project can be used to fix missing umlauts that occurred do to encoding errors. It consists of two small scripts. The first one convert.py
is used to convert a dictionary, either a .dic file or an Open-/LibreOffice dictionary, to the needed file format.
$ python3 convert.py <dictionary> <output_file>
The second one fix.py
is used to fix the umlauts in a file. It needs two arguments: the file we generated before and the file to fix.
$ python3 fix.py <generated_file> <file_to_fix>
On both commands you can call for help via --help
.