<< Click to Display Table of Contents >> Navigation: Reference Manual > Files > Fixed format data files |
We recommend using CSV data files.
This section describes the various types of fixed format data files.
IMPORTANT: the way UNI (files with extension .uni) files are treated is different to earlier versions.
There are two basic types of fixed format data files: ASC and UNI. If a correct extension is not used then ASC is assumed.
For fixed format data files each question is allocated a specific set of data locations. The difference between the two data file types relates to the way that data locations are used.
Data locations refer to bytes in the data file record. For example a character question in data location 12 width 4 will use bytes 12, 13 ,14 and 15 in the data record.
This character question can hold up to 4 English (ANSII) characters (including blanks) which can include numbers and normal punctuation.
The way the information is stored in each record depends on the encoding, see Encoding.
•Locale (MBCS)
•UTF-8 (with or without a BOM)
Data locations refer to characters in the data file record. For example a character question in data location 12 width 4 will use characters 12, 13 ,14 and 15 in the data record.
This character question can hold up to 4 characters (including blanks) in any language. The actual number of bytes used in the data record will depend on the encoding used.
The way the information is stored in each record depends on the encoding, see Encoding.
•Locale (MBCS)
•UTF-8 (with or without a BOM)
•UTF-16 LE