How do I change encoding of my database ? Project is NET.CORE 2.1
I tried :
ALTER DATABASE DBNAME CHARACTER SET utf8 COLLATE utf8_general_ci;
But VisualStudio did not accept that command, due to syntax Error
The second thing I tried was to change appsetting.json by adding Charset=utf8
to ConnectionString.
That did not work either. VisualStudio could not work out Charset keyword.
Are there any other ways to do that ? Or is there any mistake in my command ?