fix: decode scripted 5250 text as UTF-8 with explicit code pages #112

Merged
binjovi-bot merged 1 commit from codex/zelnet-script-unicode into trunk 2026-09-10 19:37:22 +00:00
Owner

Typing Müller through a 5250 play script treated its UTF-8 bytes as Latin-1 characters. Decode complete UTF-8 arguments before field edits, reject invalid or unrepresentable text and overflow before mutation, and add --ccsid for explicit host display encoding (default remains 37). Keep fill ASCII-only. The regression test failed on the old byte loop; all 1,015 offline tests pass. A pub400 Munchers profile entered with --ccsid 273 stores Müller correctly, and save/resume replay compares equal across jobs. Invalid code-page arguments fail before connection.

Typing Müller through a 5250 play script treated its UTF-8 bytes as Latin-1 characters. Decode complete UTF-8 arguments before field edits, reject invalid or unrepresentable text and overflow before mutation, and add --ccsid for explicit host display encoding (default remains 37). Keep fill ASCII-only. The regression test failed on the old byte loop; all 1,015 offline tests pass. A pub400 Munchers profile entered with --ccsid 273 stores Müller correctly, and save/resume replay compares equal across jobs. Invalid code-page arguments fail before connection.
fix: decode scripted 5250 text as UTF-8 with explicit code pages
All checks were successful
binjovi/ci Binjovi completed the frozen plan
e7f0d7ee72
binjovi-bot deleted branch codex/zelnet-script-unicode 2026-09-10 19:37:23 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/zelnet!112
No description provided.