In This Topic
For some table-related data, Train Simulator -NEXT is using CSV files to store it.
Seperator selection
-
The seperator, which seperates columns, depends on the locale region.
For example, in the German language region, a semicolon seperator ; is used instead of a comma , .
→ To solve this issue, you can pass a sem=; as the first line with a CSV file.
→ Otherwise, the first line is checked against a semicolon or tab character. If it exists, it is used as the seperator character.
→ Otherwise, the comma is the default seperator.
-
We note that the tab character doesn't work very well with CSV files. The columns are not seperated by a position of a starting character, as tabs can have multiple widths i.e. 2 or 4 characters.
To replace text with text and escape characters in columns, replace them with these texts:
Text |
Character |
: |
; |
, |
, |
&tab; |
Tabstop Character |
&nl; |
New line |
Table 1: Replacements for specific text and escape characters.
Non-supported features