10 messages in com.mysql.lists.bugsRe: Error in big5 encoding, windows, ...| From | Sent On | Attachments |
|---|---|---|
| Tobias Lind | 18 Dec 2000 12:55 | |
| ctl...@apricot.com.hk | 18 Dec 2000 23:29 | |
| Thimble Smith | 19 Dec 2000 01:03 | |
| Thimble Smith | 19 Dec 2000 01:06 | |
| Tobias Lind | 19 Dec 2000 03:59 | |
| Thimble Smith | 19 Dec 2000 14:26 | |
| ctl...@apricot.com.hk | 19 Dec 2000 20:13 | |
| Michael Widenius | 20 Dec 2000 02:33 | |
| Michael Widenius | 04 Jan 2001 14:54 | |
| Tobias Lind | 05 Jan 2001 05:01 |
| Subject: | Re: Error in big5 encoding, windows, all version![]() |
|---|---|
| From: | Michael Widenius (mon...@mysql.com) |
| Date: | 12/20/2000 02:33:05 AM |
| List: | com.mysql.lists.bugs |
Hi!
"ctlam@apricot" == ctlam@apricot com hk <ctl...@orionpos.com> writes:
ctlam@apricot> Hi,
ctlam@apricot> Refer to the last e-mail,
ctlam@apricot> I think I should say I could store some BIG5 character by
INSERT. I
ctlam@apricot> cannot retrieve the stored characters (just a very few set of
characters, I
ctlam@apricot> just discovered 2 characters) by SELECT in both my program,
MYSQL.exe ,
ctlam@apricot> through ODBC or JDBC.
ctlam@apricot> I am using JDBC to connect to MYSQL. I am wondering whether
this is
ctlam@apricot> encoding setting or anything else.
ctlam@apricot> Even I type "SELECT '���';" in the MYSQL.exe command-line
environment I
ctlam@apricot> cannot get the correct result.
ctlam@apricot> Thank you for your help.
The above select should be binary transparent and should work!
What response do you get from the client? Can you show a cut an past for this?
Here is a cut and past from linux that proves this:
mysql> SELECT '���'; +-----+ | ��� | +-----+ | ��� | +-----+ 1 row in set (0.01 sec)
mysql> SELECT ascii(mid('���',2,1)); +-----------------------+ | ascii(mid('���',2,1)) | +-----------------------+ | 147 | +-----------------------+ 1 row in set (0.01 sec)
mysql> SELECT ascii(mid('���',3,1)); +-----------------------+ | ascii(mid('���',3,1)) | +-----------------------+ | 139 | +-----------------------+ 1 row in set (0.00 sec)
Regards, Monty




