Encode a fileHandler to output unicode characters

738 Views Asked by At

I'm using Java FileHandler in my application to write a log file. i need to get output in Unicode characters. so i have set encoding as fileHandler.setEncoding("UTF-8"); in my application. but Unicode characters in output is still display as ?????.

how could i solve this ?

0

There are 0 best solutions below