-
Notifications
You must be signed in to change notification settings - Fork 2
/
devNotes
19 lines (18 loc) · 995 Bytes
/
devNotes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
==================================================
| _____ _ _ _ |
| | __ \ | \ | | | | |
| | | | | _____ _| \| | ___ | |_ ___ ___ |
| | | | |/ _ \ \ / / . ` |/ _ \| __/ _ \/ __| |
| | |__| | __/\ V /| |\ | (_) | || __/\__ \ |
| |_____/ \___| \_/ |_| \_|\___/ \__\___||___/ |
| |
| Important notes for the |
| development of OMSI-Tools |
==================================================
(1) BACKEND | ENCODING
Encoding since Qt 6.x, especially encoding of files created by OMSI
There have been encoding problems with ä, ö, ü, ß etc.
Since the update to Qt 6.x, especially in the map check (via OTOmsiFileHandler).
To fix this problem, the encoding (ideally) of each QTextStream must be set to QStringConverter::System:
>> QTextStream in(&file);
>> in.setEncoding(QStringConverter::System);