Files
MARTe-Integrated-Components/Source/Applications/StreamHub
Martino FerrariandClaude Sonnet 4.6 93e00d0c21 fix(StreamHub): correct UTF-8 tail repair to run only after truncation
The previous walk-back in SetCalibrationEntry was unconditional, corrupting
short valid units ending in multi-byte characters (e.g. Omega, mu, degree).
Also failed to drop an orphaned lead byte left after stripping continuation
bytes. Restructured to use a 256-byte staging buffer so truncation can be
detected, then repair runs only in the truncation branch. Algorithm now
matches Go CalConfig.Normalise() exactly: scan back over continuation bytes
(up to 3), find the lead byte, derive expected sequence length, cut if
incomplete. Covers all cases: orphaned continuation, orphaned lead, cut on
lead byte.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-17 00:02:33 +02:00
..
2026-06-12 15:25:13 +02:00
2026-06-12 15:25:13 +02:00
2026-06-14 14:09:51 +02:00
2026-06-12 15:25:13 +02:00
2026-06-26 09:11:10 +02:00
2026-06-12 15:25:13 +02:00
2026-06-12 15:25:13 +02:00
2026-06-26 09:11:10 +02:00
2026-06-12 15:25:13 +02:00
2026-06-12 15:25:13 +02:00
2026-06-12 15:25:13 +02:00