Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/answerquest/punebudget-to-unicode-converter
Convert legacy Marathi/Hind font to unicode
https://github.com/answerquest/punebudget-to-unicode-converter
Last synced: 29 days ago
JSON representation
Convert legacy Marathi/Hind font to unicode
- Host: GitHub
- URL: https://github.com/answerquest/punebudget-to-unicode-converter
- Owner: answerquest
- Created: 2015-03-24T03:27:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-04-24T02:39:14.000Z (over 9 years ago)
- Last Synced: 2023-02-28T20:26:35.935Z (over 1 year ago)
- Language: HTML
- Size: 203 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Update: Please see this Gist page for getting the latest copy of the converter : https://gist.github.com/answerquest/74c13f73f1bfb21c3177
This repository is kept for archival and net-availability of the excel file that has character mappings which should help others trying to make converters for other legacy fonts.
# PuneBudget <==> यूनिकोड परिवर्तित्र (unicode converter)
Aim: Reliably converting Marathi or Hindi language text from a legacy font used in Pune Municipal Corporation's Budget Book and some other documents.. to Marathi language Unicode text.
Status : Successfully done for simple paragraph text.
The basic HTML file (PuneBudget_to_Unicode_Converter.html) has an input textbox and an output one. We copy-paste text from the PDF to here. It can be anything from a word to a paragraph.. but all in simple text; no formatting apart from newlines.
Click the Convert button,
And the output text box is populated with the same text in Unicode format. The user can compare this with the original PDF to check for accuracy.
In case of any inaccuracies found, please write to nikhil.js [at] gmail.com . Or fork, fix and pull request!
This code isn't my creation : It has been adapted from other such converters listed here: https://sites.google.com/site/technicalhindi/home/converters, and people in that community helped get me started on this.
The excel file here has the mapping information in an easier-to-understand format, by listing out the full ASCII charset.
## What's Next / Help Wanted
Need to make this happen for excel sheets. Meaning at most basic level, how the same function operating on the textboc here can operate iteratively on every cell in a certain excel sheet. Maybe a macro function or an executable script?At the very least, need to make this CSV-compatible. Which means handling enclosing quotes etc carefully. Presently double-quotes maps to single-quote in the font conversion, and comma's are commonly used in the text.