An open API service indexing awesome lists of open source software.

https://github.com/fnl/ungreek

scripts to work with tools that can only handle ASCII
https://github.com/fnl/ungreek

Last synced: 21 days ago
JSON representation

scripts to work with tools that can only handle ASCII

Awesome Lists containing this project

README

          

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][NIH] non-ASCII characters to ASCII.
Both scripts accept input from `` or as file arguments and write to ``.

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

[NIH]: http://lexsrv2.nlm.nih.gov/LexSysGroup/Projects/lvg/2011/docs/designDoc/UDF/unicode/unicodeToAscii.html