Re: Unicode characters become question marks

2004-06-03 Thread James Huang
a software. Cheers! -James Huang // // File: connect.judi // connect to 'jdbc:mysql://localhost/mydb?useUnicode=true&characterEncoding=utf-8', 'myuser', 'myuser'; // // File: mysqltest.judo // !include 'connect.judi' asUnicode = &#x

Re: Unicode characters become question marks

2004-06-02 Thread James Huang
This test code works, with both mysql-connector-j 3.0.14 and 3.0.11, against mysql 5.0-alpha. I'll look more and report anything if interesting. Thanks, -James From: Mark Matthews <[EMAIL PROTECTED]> To: James Huang <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED],

Re: Unicode characters become question marks

2004-06-02 Thread James Huang
? That doesn't look like a standard JDBC method. -James From: Mark Matthews <[EMAIL PROTECTED]> To: James Huang <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: Unicode characters become question marks Date: Wed, 02 Jun 2004 13:04:38 -050

RE: Unicode characters become question marks

2004-06-02 Thread James Huang
PROTECTED]> To: 'Silvio Lopes de Oliveira ' <[EMAIL PROTECTED]>,Victor Pendleton <[EMAIL PROTECTED]>,'James Huang ' <[EMAIL PROTECTED]>,"'[EMAIL PROTECTED] '" <[EMAIL PROTECTED]> Subject: RE: Unicode characters become question marks

RE: Unicode characters become question marks

2004-06-02 Thread James Huang
Yes. The source data were "\u" escaped in Java, and the data read out of mysql were HTML-escaped into #&12345; and set to browser; the browser does display Chinese characters correctly. From: Victor Pendleton <[EMAIL PROTECTED]> To: 'James Huang ' <[EMA

RE: Unicode characters become question marks

2004-06-02 Thread James Huang
I saw the same problem with 5.0 alpha and Java/JDBC. The text was Chinese characters in Java; the tables were created with default character set UTF8. Seems only questions marks are stored. Wondering if far-east characters in UTF8 are support by MySQL's UTF8 support? -James From: "Silvio Lopes

[ANN] JudoScript -- A Genuine JDBC Scripting Language

2001-11-26 Thread James Huang
:'; while $q.next() { println $q[1] :>5, ' ', $q[2]; // first column right adjusted // println $q.id :>5, ' ', $q.name; // another way. } Cheers! James Huang, author of JudoScript _