entering unicode (was Python usage numbers)
steve+comp.lang.python at pearwood.info
Sun Feb 19 04:44:07 CET 2012
On Sun, 12 Feb 2012 19:09:32 -0800, rusi wrote:
> I have some bunch of sanskrit (devanagari) to type. It would be easiest
> for me if I could have the English (roman) as well as the sanskrit
> For example using the devanagari-itrans input method I can write the
> gayatri mantra using
> OM bhUrbhuvaH suvaH
> bhargo devasya dhImahi
> dhiyo yonaH prachodayAt
> and emacs produces *on the fly* (ie I cant see/edit the above)
> ॐ भूर्भुवः सुवः तत्सवितुर्वरेण्यम् भर्गो
देवस्य धीमहि धियो योनः
> Can I do it in batch mode? ie write the first in a file and run some
> command on it to produce the second?
What is the devanagari-itrans input method? Do you actually type the
characters into a terminal?
If so, you should be able to type the first into a file, copy it, then
paste it into the input buffer to be processed.
More information about the Python-list