Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text file strangeness

Status
Not open for further replies.

sn0rg

IS-IT--Management
Aug 5, 2005
95
GB
Hi Guys

i've created a CSV file with a vbscript and the filesystemobject. Now I want to read the content of that file into an array.

Trouble is, when I attempt to read the file using objFile.readline, it's garbage. Always starts with "ÿþF", and nothing else will echo out.

I can manually read the file with notepad.

Whats going on?

Thanks for any help!
 
The answer? Unicode characters.

I had to open with "TriStateTrue
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top