Skip to content Skip to sidebar Skip to footer

Mysql, Polish Characters And Duplicate Insert Statement

I've got a problem with inserting two rows to table. The database is in UTF8. The problem seems to be connected to the collation. This statement works: insert into test(code,text)

Solution 1:

This should do the trick:

insert into test(code,text) values('xx',N'aąą');

The letter N is for Unicode insert.

Post a Comment for "Mysql, Polish Characters And Duplicate Insert Statement"