fix: decode scripted 5250 text as UTF-8 with explicit code pages #112
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/zelnet-script-unicode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.