Friday, August 13, 2004 09:24 AM
i want to get some text from a TextField and insert this to a mysql database table.
problem is that if the user enters some turkish characters these gets converted to gibberish.
now, i know that TextFields always return utf8 encoded characters. i try to convert them with the following code but no luck.
byte utf8Bytes = theText.getBytes();
newText = new String(utf8Bytes, "ISO8859_9");
anybody have an idea?
thanks in advance