scripts to work with tools that can only handle ASCII
C Python JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Makefile
README.md
uncode
ungreek.c

README.md

ungreek

ungreek is a simple C99 script to expand Greek letters in UTF-8 encoding to their Latin names. In addition, uncode is a Python 2.6+ and 3.0+ script to normalize non-ASCII characters to ASCII. Both scripts accept input from <stdin> or as file arguments and write to <stdout>.

To compile ungreek, a C99 compiler has to be available; type make to compile using GNU Make. To use uncode, the PyPI unidecode package has to be installed (pip install unidecode or easy_install unidecode).

Example conversion of a input text file in UTF-8 format:

ungreek unicode.txt | uncode > ascii.txt