Has anyone ever had any luck using SilkTest International to read unicode files (using SYS_FileOpen, etc.)?
It seems to me like it doesn't work, because SYS_FileReadLine, etc. assume the files are 'regular text'.
I found a workaround, so it isn't a problem, but it seems strange none the less.
The workaround is this:
To quickly convert unicode to regular text:
c:\more < unicode_file.txt > regularOutput.txt
Chris R Mead
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
Yes, I am reading - and writing - Unicode and UTF-8 files without issue.
You need to use:
FileOpen (sPath, fmMode, fsShare, ftType)
where ftType is the file type (see online help)
David Genrich email@example.com
Thanks for pointing that out, David.
I wish that SYS_GetFileContents() also had a ftType parameter.
Log that one with support