Java encoding
Hi,everyone!I'm having problems in my netbeens project where I use mysql database.
I get the data from a few jtextfields but I can't insert that data into the database in the same form I entered it.The problem is with the letters from my alphabet:",,," etc.
Can you help me?
Thanks
[308 byte] By [
Shmeka] at [2007-11-27 11:13:08]

When I execute this code:
InputStreamReader reader=new InputStreamReader(System.in);
BufferedReader t=new BufferedReader(reader);
String ulaz=t.readLine();
byte[] pom=ulaz.getBytes("UTF-16");
String izlaz=new String(pom,"utf-16");
System.out.println(izlaz);
I get this output:"?" for the input "".What charset should I use?
P.S. Use Western European(ISO) encoding in your browser
Shmeka at 2007-7-29 13:58:59 >
