json - SQL 2008 remove smart quotes before data insert -
i have vb.net web service inserts data sql 2008 db. lot of data being pulled word document. ran issue smart quotes , funky looking apostrophe inserted data column. inserted fine. issue pulling data db , sending user json. when user tries @ data unexpected end of json when tries read funky characters.
can in vb code before insert or easier in sql insert stored procedure? suggestions appreciated.
include relevant lines code , believe i'll able help.
the solution should along lines of identifying characters causing problem , replacing them html encoded version.
this article may shed on you: https://www.dwheeler.com/essays/quotes-in-html.html
Comments
Post a Comment