If there is any input or output on an ASP page this sort of thing works like a charm:
<%@ LANGUAGE="VBScript" CodePage = 65001 %>
<%
Response.CharSet = "UTF-8"
Response.CodePage = 65001
%>
But if it's an ASP page executing pure VBS and I pass a non-latin character string as a parameter to an MS SQL sproc via Server.CreateObject("ADODB.Command")
then it's turned into a series of ?
characters somewhere between when the command is Executed and MS SQL puts it into a varchar column.
However, I do have one instance of IIS on which the same ASP pages will insert such strings into the database with UTF-8 encoding. Since I can't find the IIS setting that allows that to work, how can I force an ADODB.Command Parameter value to be converted to UTF-8?