Reading data from unicode file

F

FaYYaZ

Hi all

I have CSV text file having unicode data in. When I am trying to insert that
data in Database using FSO it change the data.
When I copy and paste data in DB it looks ok.

set FSObj = server.CreateObject("Scripting.FileSystemObject")
Set myFile = FSObj.OpenTextFile(strFilePath,1, False,TristateTrue )

Please advise.

Kind Regards,
 
M

Mark Schupp

are you defining TristateTrue somewhere?

put "option explicit" at the top of your code as in:

<%@ Language=VBScript %>
<%
option explicit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,241
Latest member
Lisa1997

Latest Threads

Top