My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 36: chinese problem
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Type-Defect
Priority-Medium
Milestone-Beta2.6


Sign in to add a comment
 
Reported by xtlinyongcong, Jun 03, 2008
when i use assql writer chinese data into database,

the chinese data is garbled when I see it in the "MySQL Command Line Client".

but I use assql read the chinese data,put they in the datagrid,it is normal.

air application,database use utf8.

I try use a html,and servlet(all is utf8).put data in database,display data
in    

 "MySQL Command Line Client",read data and put they in the html,all is normal.

why?

Comment 1 by maclema, Jun 04, 2008
I could also reproduce this problem, however, I am not sure why it is happening. Any
ideas?
Status: Accepted
Comment 2 by maclema, Jun 04, 2008
After a few more test it seems this is working ok.

Using asSQL I inserted "这是一个测试", then using the comment line client, select the
record, and it showed up the same in the command line viewer.
Comment 3 by xtlinyongcong, Jun 05, 2008
I try open a ServerSocket with java,and use flex connect it,say some chinese word to   
java.when i use writeUTFBytes to say chinese word to java,it's garbled in java.But if
I switch to use the writeMultiByte(chineseWords,"utf8"),it's normal.

I replace all the readUTFBytes and writeUTFBytes to the
readMultiByte(bytes.length,"utf8") and writeMultiByte(chineseWords,"utf8").
With no change before the only difference is that symbols do not show the same garbled.
(assql read and write the chinese data,put they in the datagrid,it is normal."MySQL
Command Line Client","MySQL Query Browser","EMS SQL Manager" display garbled).

It's frustrating:(






Comment 4 by maclema, Jun 10, 2008
(No comment was entered for this change.)
Labels: Milestone-Beta2.6
Comment 5 by maclema, Jun 10, 2008
(No comment was entered for this change.)
Status: Started
Comment 6 by maclema, Jun 14, 2008
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Hosted by Google Code