I was stuck up in a problem regarding Arabic text. My task was to transfer files from MainFrame containing English and Arabic data (in EBCIDC) to UTF-8 format. I am using a utility which converts this EDBCIDC data to UTF-8. However the orientation of Arabic data in Mainframe file was wrong (L-R). Hence the o/p of the utlitity was also wrong.
I've built my own program which reverses the Arabic text. But I am facing some problem with the I/O performace. My program reads a line from a file using BufferedReader processes it and writes it to the o/p file using BufferedWriter.
The o/p is being written at 16 kb/sec which is too less.