965280 wrote:This means the following:
new String (string.getBytes("iso-8859-1"),"gbk")
rp0428 wrote:Perhaps the sleazy hack "new String(string.getBytes())" actually works to encode and decode characters between Unicode and 7-bit ASCII -- but I haven't got the energy to figure out how it might work. My response to this sort of question is "Configure Oracle with the right character set in the first place so you don't have to deal with it at the application level".
Really? Please explain how that is possible.
The US7ASCII only uses 7 bits to represent each character so can only represent 128 characters; none of them are chinese.