The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.

From:

 Chip Orange

Subject:

 using the openTextFile method of fileSystemObject

Date:

 Thu, Mar 18, 2010 1:37:22 pm
Hi all,

I'm trying to use openTextFile, and I'm finding it has a parameter for
specifying the format of the file you want to read: either it's ascii or
unicode. when I try and read an ascii file having specified unicode, it
yields trash. And the reverse is true.

I'd like this to be able to work regardless of the type of encoding of the
file, does anyone have any suggestion as to how I can achieve this?

thanks.

Chip