Encodes utf-16 strings as utf-8. To run the program, pass the input file as a parameter to the utf8encoder.py file. For example:
python utf8encoder.py input/arabic_in.txt
The above command will generate the utf8-encoded output string in a utf8encoder_out.txt file.