18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-28 23:13:23 +01:00
Commit Graph

2 Commits

Author SHA1 Message Date
jerrrrycho
9f77bd688b fix(utilities): Bezogonkow() takes the marks off the same letters in every build
The table of Bezogonkow() had the plus-minus sign of 0xB1 written as the character, in a source kept in
utf-8. GCC and Clang (and MSVC with /utf-8) made two bytes of it, so every entry from 0xB2 on was off by
one: the polish letters came out as "ALELDNSZZ,le,dnszl", and with them the file names of the destination
boards and the names of the stations the python screens get. The entry is the byte now.

Nothing changes for a build which made one byte of the sign (MSVC on a machine with a central or western
european code page). The test checks the one table in place of whichever the build had.
2026-11-18 23:50:06 +01:00
jerrrrycho
5764692e89 test: characterize the helpers of utilities
The texts, numbers, random numbers, file names and times of utilities.cpp and utilities.h as they behave now. The table of Bezogonkow() is checked as the build has it: one byte for its plus-minus sign with MSVC, two with GCC and Clang, which give other letters.
2026-11-11 22:40:02 +01:00