How to write UTF8 text in Java

How to write UTF8 text in Java


String fullPath="c:\temp\text.txt";
File curfile = new File(fullPath);

//write in UTF8 file format

Syndicate content