Skip to content

About

Python/ tkinter script that converts diacritics (Umlaute) to Ascii. Both directions with Minimalist GUI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

image image image

Python script to convert UTF8 ISO text file from ASCII chars to Umlaute and vive versa. Other characters mixed in (like cyrillic) should not disturb and don't get touched.

uses following Conversion table:

NORMAL_MAP = { 'ae': 'ä', 'oe': 'ö', 'ue': 'ü', 'AE': 'Ä', 'OE': 'Ö', 'UE': 'Ü', 'Ae': 'Ä', 'Oe': 'Ö', 'Ue': 'Ü' }

REVERSE_MAP = { 'ä': 'ae', 'ö': 'oe', 'ü': 'ue', 'Ä': 'AE', 'ß': 'ss', 'ẞ': 'SS'

If you omit target file during launch a file dialog pops ups and let's you choose a txt file to view before processing.

Choose conversion direction to start conversion.

The file dialog writes the last used directory to a readable and editable .txt file, reading it back next start. That means you can launch the script from any r/w directory youlike.

It remembers the dir where you picked the last file from. Avoiding click orgies to numerous drives and dirs when you just want to choose the next file from the previous dir.

Have fun. Live long and prosper.

About

Python/ tkinter script that converts diacritics (Umlaute) to Ascii. Both directions with Minimalist GUI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages