I am trying to insert / update accented special characters through Laravel
like
çã, á, é, í, ó, ú, ü, ñ
and many more.
But laravel is converting into some hex code and insert it into database. Which in return, i am getting content in chinese...
For example:- i am trying to this
Actual query runs in laravel
What shown in blade is
I am using SQL-Server-2008
Data type of column is nvarchar
and collation is SQL_Latin1_General_CP1_CI_AI
So, what i have conclude is, this is the laravel issue becuase if run query directly in database by prefixing N like
set 'name' = N'Vishal çã, á, é, í, ó, ú, ü, ñ'
then it works fine.
How could we acheive this through laravel ?