Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
I am using this script
aa:
LOAD * INLINE [
F1
1
2
3
4
];
STORE * from aa into aaa.txt (txt) ;
setting is:
default export encoding is ansi in document properties
default user setting is Encoding ansi
the problem is that the aaa.txt file encoding is UTF-8
I need it ansi .
what am I doing wrong ?
thanks
gidon
TableToAnsi:
LOAD * INLINE [
F1
1
2
3
4
];
Call ExportToTextfile () ;
exit SCRIPT ;
// the macro stores the results of the table "TableToAnsi" into the TXT file.
// this is the macro
Sub ExportToTextfile
Set tableObject = ActiveDocument.GetSheetObject("TB01")
tableObject.Export "C:/TEST.txt",Chr(9)
End Sub
So basically:
The sequence is
I think the example by Chris is quite good, but there are sure others in the Qlik Community.