![]() Response.Write "" & rst("english_equiv").Value & "" Response.Write "" & rst("language").Value & "" ![]() Response.Write "" & rst("word").Value & "" While it is true that Access does not store Unicode characters internally as UTF-8 the Access OLEDB driver will take care of the conversions for you.Ĭonsider the following sample script (where 65001 is the "code page" for UTF-8): Ĭmd.CommandText = "INSERT INTO vocabulary (word, language, english_equiv) VALUES (?,?,?)"Ĭmd.Parameters.Append cmd.CreateParameter("?", adVarWChar, adParamInput, 255, Request.Form("word"))Ĭmd.Parameters.Append cmd.CreateParameter("?", adVarWChar, adParamInput, 255, Request.Form("language"))Ĭmd.Parameters.Append cmd.CreateParameter("?", adVarWChar, adParamInput, 255, Request.Form("english_equiv")) If you stick with UTF-8 for your pages they should work (but see the Important Note below).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |