I have a problem with entering Hebrew strings in MySql.
Introduction
- I installed MySql in Utf8.
- I set the table as charset utf8 with sorting uft8_general_ci
- I set the connection string like this: "Server =; Database =; Uid =; Pwd =; charset = utf8;"
- I am writing a stored procedure for using it with C #.
- MySql Version: 5.1.53
when I just insert a Hebrew row into a MySql table like this:
insert into temp_table (temp_column) values ('ערך')
I saw how right. if I set a stored procedure like this ... I see gibberish.
when I call it using C #, I get an exception like "Invalid string value:" \ xD7 \ xAA \ xD7 \ xA8 ... "for the column ... '
if I insert English strings, so I get everything right.
any idea?
David Michaeli
source share