Thanks so much graff and others
I now understand a little more about data types. may be my data is in wrong format in table.
And i found that i also have some problems on communication between program and client as Burak advised me.
For this encoding mismatch in communication, i used as "default-character-set=sjis" and "
skip-character-set-client-handshake" in my.ini of mysql.
Is this ok when i upload to some real hosting ?
i convert like that and i used sjis to store data in database.Then, the query problem of "SELECT ... WHERE field1 LIKE "$input"."%"become OK since user input is also in sjis encoding.
Anyway, i am really grateful for your good advises.
i have some other related problem. this is to convert ascii character 'A' to sjis (japanese full-width alphanumeric character) 'A' . But I am not sure that "the solution may be only known by the people who are working in japanese character" or such problem also exists in other unicode characters.