Inside the database table there is a file named ♥-You-Got-Me-♥[www.savevid.com].mp4
. I need to get the name of this file and save it in text file. But the way I am saving,I see ?
instead of ♥
.How do I store text in Unicode ?
The way I am doing is :
String name = Foo.getNameFromTheTable();
PrintWriter writer = new PrintWriter(file);
writer.println(name);
writer.close();
But this doesn't store the text in unicode form.