Skip to content

fix missing umlauts that occurred do to encoding errors

License

Notifications You must be signed in to change notification settings

jnnkB/fix-umlauts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code style: black License: MIT

fix-umlauts

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.

About

fix missing umlauts that occurred do to encoding errors

Topics

Resources

License

Stars

Watchers

Forks

Languages