how can i set the encoding when i'm configure nhibernate with fluent configuration on mysql
my problem is that i'm saving hebrew text on db and all i see in my app is ????
how can i set the encoding when i'm configure nhibernate with fluent configuration on mysql
my problem is that i'm saving hebrew text on db and all i see in my app is ????
I think this is not related to Fluent NHibernate. When you create your database you indicate the encoding:
CREATE DATABASE mydb DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
Also verify that you append ;charSet=utf8
to your connection string.