Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 459 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 459 Bytes

This is a simple python library to convert ASCII encodings to unicode.

How to install.

pip install libasciitounicode

Example usage.

import the Font class and to_unicode function.

from libasciitounicode.converter import Font, to_unicode

Give the path to your yaml file containing mappings as the filepath.

f = Font("abhaya", "sinhala", filepath="tests/fm_abhaya.yaml") 
unicode_text = to_unicode(f, ascii_text)