Hi, I prepared this program please go through it. i am running this program in linux with gcc compiler. i am giving input in the tmp.txt file with Telugu or Hindi characters. But I am not getting proper output. I found 2 problems: 1. These characters are not converting to wide characters. 2. On the console characters are printing with some junk value. Can any one help me to solve.