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]
# 1

You can use a Blob or similar binary type for the database column's type.

kmangolda at 2007-7-29 13:58:59 > top of Java-index,Java Essentials,New To Java...
# 2

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 > top of Java-index,Java Essentials,New To Java...
# 3

You should use the same encoding as the input is in.

dwga at 2007-7-29 13:58:59 > top of Java-index,Java Essentials,New To Java...