18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-29 00:23:21 +01:00
Files
maszyna/tests/unit/test_utilities.cpp
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

28 KiB