[Qform-general] can't display Chinese correctly
Brought to you by:
dglasser
From: Stephen W. <an...@em...> - 2003-09-01 15:29:39
|
Hi dave, I'am from China. First of all, I want to say that queryform is an excellent open source program I've ever used in the SQL query field. Thanks for your good work. Unfortunately it get a little bit flaw in dealing with Chinese language. When queryform get data from my MS sqlserver, data from tables cannot display correctly except that those table's metadata. I think the reason is java use unicode. Your coding is iso8859-1 but mine is gb2312. I often correct this by changing the data's coding. If I get a string named 'result' from table, to get it display correcly, I will do something like this: return new String(result.getBytes("ISO-8859-1"),"GB2312"); This will work. Hope some i18n features will be added in the next edition. Thanks, ant21 -- __________________________________________________________ Sign-up for your own personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers |