kknight2046
Programmer
I defined one field in one table with a special charset collate setting:
`name` text character set ascii collate ascii_bin NOT NULL
I wrote a Java program use java.sql to retrieve data from the 'name' field.
But the statement:
name = rs.getString("name");
returned some garbage like "[Gasfaf", though the expected return result should be something like "Jen".
How can I solve this problem?
Thanks.
`name` text character set ascii collate ascii_bin NOT NULL
I wrote a Java program use java.sql to retrieve data from the 'name' field.
But the statement:
name = rs.getString("name");
returned some garbage like "[Gasfaf", though the expected return result should be something like "Jen".
How can I solve this problem?
Thanks.