I tried this, but somehow it didnt work out. what's the problem here?

i tried something here to convert some japanese characters to utf8 and them stroreged it in to my mysql table.somehow it gives me something like 紊?please help!!! System.out.println(new String("変換".getBytes("utf8"),"euc-jp"));
[274 byte] By [bigdadismea] at [2007-10-2 14:27:06]
# 1
The code you posted takes a string, converts it to a byte array in UTF-8, and then converts that byte array to a string, but using euc-jp as the encoding. Why do you expect that to give you a correct result?
one_danea at 2007-7-13 12:47:26 > top of Java-index,Desktop,I18N...