This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
my java program is read input of tamil string from txt file and write to doc file.it works in IDE netbeans .but when i convert it in to jar file using netbeans the output file text not match with unicode font.anybody help me please?
//This is my program which is read Tamil unicode lines form mohan.doc file and save it into given name . All is good when i execute in IDE Netbeans 7.0.1. when i convert in to .jar file using netbeans ,the jar file is working properly but the font and unicode didnot match....i opened in UTF-8 unicode.please help me to solve this problem.thank you friends.
Welcome to the Ranch
Please always use the code button, which I have used on your code, and you can see how much better it looks
How do you know the text is not being read correctly? Try printing the individual chars as ints, like thisFor Tamil Scripts, you should get values between 0x0b80 and 0x0bff. If those values come out all right, it might be the terminal which cannot display the letters.