If the same section appears more than once in the same file, or if the same key appears more than once in the same section, then the last occurrence prevails. Multiple values for a key are separated by a comma followed by at least one spacing character. Within a known section, only unrecognized keys should be skipped. Where implementation-specific considerations do not advise otherwise, the recommended line terminator is a LF character. Comments must begin at the beginning of a line or after a spacing character.
Comments terminate at the end of the line.
Comments, empty lines, and spaces at the beginning of a line should be ignored. String values beginning or ending with spaces, or containing commas, must be enclosed in quotes. The default character set for text appearing inside string values is ISO 8859-1. However, the string data appearing in the INI file must be encoded as ISO 8859-1 text, using escape sequences as necessary, so as to be compatible with INI parsers. Escape Sequences Escape sequences, consisting of a backslash followed by a lower case letter or by a combination of digits, should be used to encode binary data and certain other special characters and character combinations.