This utility allows you to convert Indian language text from one script to another AND/OR from one data encoding to another. The text to be converted may contain different scripts in ANSI, Unicode or ISO15919 encodings. For example, let's say you have Kannada text in ANSI encoding (text that uses "BRH Kannada" font) along with Telugu text in Unicode encoding. Now, you can convert this entire text to Devanagari in Unicode encoding.
Usage: brhdc InFile OutFile Script OutType RetainEnglish
InFile: Input file in RTF format.
OutFile: Output file in RTF or TXT format.
Script: The script to which text will be converted. It should be one of the scripts supported in Baraha which are: Kannada, Devanagari, Tamil, Telugu, Malayalam, Gujarati, Gurumukhi, Bengali and Oriya. If the original script has to be retained, use None.
OutType: The text format of OutFile. This should be one of ANSI, UNICODE, BARAHA, ISO15919, IAST.
RetainEnglish: Indicates if English text should be converted to Indian script or not. This should be one of true, false.
Example: brhdc input.rtf output.rtf Kannada Unicode true
In this example, all the Indian language text in the input.rtf file is converted into Kannada script in Unicode encoding and saved as output.rtf. English text in the input file remains untouched.