Text File Reader Parameters
Reader Parameters
Specifies whether the entire input file should be read into a single attribute on a single feature instead of producing a feature per line.
This method preserves the exact contents of the file, including line separators, end-of-file (EOF) markers, etc.
Specifies whether the input file should be read backwards, from the end of the file to the top. This is useful when only a few features from the end of a large file are required to be read.
This parameter is used to set the number of lines to skip at the top of the file. By default, no lines are skipped. Each line skipped is logged to the log file. This option is useful if the file contains header lines of descriptive material that should be skipped.
This parameter is ignored if Read Whole File at Once is set to Yes.
If Read Bottom Up is set to Yes, the lines are skipped from the end of the file instead.
This parameter is used to set the number of footer lines to skip at the bottom of the file. By default, no footer lines are skipped. Each footer line skipped is logged to the log file. This option is useful if the file contains footer lines of descriptive material that should be skipped.
This parameter is ignored if Read Whole File at Once is set to Yes.
If Read Bottom Up is set to Yes, the lines are skipped from the top of the file instead.
File Contents
This parameter is applicable only if you are working with extended (not basic ASCII) character sets. If your source data contains non-ASCII characters, using this parameter along with the encoding value ensures that the original data is preserved from the reader to the writer.
FME supports most encodings.
By default, the character encoding will be automatically detected from the source file if there is a Byte Order Mark (BOM) present in the source file. Otherwise, all input strings will be encoded in the system encoding. If you select any other character encoding, it will take precedence over the automatically detected character encoding.
Note that only UTF encodings are identified using the BOM – all other character sets must be explicitly identified or they will be read as system encoding.