The TextEncode documentation demonstrates in “Example 2” how to encode a field, then export the contents.
However, when I use the following example, my exported file simply contains “iso-8859-1.txt” and non of the field contents. Without the TextEncode function, it exports the field content as expected.
Set Field [ table::container ; TextEncode ( table::text ; "iso-8859-1" ; 4 ) ]
Export Field Contents [ table::container ; "output.txt” ]
Thoughts? Any help is appreciated.