getString returning hex escaped unicode for not latin characters
Hello peoples,
Im using Mysql (4.0.20-standard) to store internationalised (utf-8) text with no problems however I am having problems retrieving this information in java as it seems somewhere along the line when retrieving the information from the database that the string which is returned to java has been hexidecimally escaped... has anyone come across this before? Perhaps this is a feature that can be disabled?
A line of japanese text might come back from the database as a string such as
関数内関数の正しい定義方法
instead of the actual japanese binary characters which are stored
関数内関数の正しい定義方法
My problem is that when I pass these escaped characters through to an XML page they do not get passed through correctly as they must be escaped again in the form 関 which doesn't really work for my application.
If anyone could offer some guidance on this issue it would be greatly appreciated as Ive looked high and low for some documentation or other people with a similar issue but to no avail.
Regards,
Aza
Subject
Written By
Posted
getString returning hex escaped unicode for not latin characters
June 12, 2005 07:46AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.