<< Click to Display Table of Contents >> Navigation: Reference Manual > Files > Fixed format data files |
We recommend using UTF-8 CSV data files.
This section describes the types of fixed format character data files.
IMPORTANT: the way UNI files are treated is different to early versions.
There are two basic types of fixed format character 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 within 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.
Data locations refer to characters within 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
Provided you have specified all the character questions in the project you can convert from one type to another, and change the encoding, see Convert fixed data.