You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refractor and port tickets read EBCDIC sources without the declared encoding #3909
cobol_refractor_controller.py:281 and build_ticket (cobol_to_java_port_tickets.py) call read_source(filepath) with no declared=. A raw EBCDIC estate scanned with --source-encoding cp277 falls back to cp1252 in these two steps: the refractor sees 1 line, so its dead-code analysis runs on garbage. Port tickets lose the rounding facts, the CBL INTDATE rule and the source listing. The scan itself reads the page correctly, so the declaration has to reach these reads (galaxy_ir / the clean-room metadata carry it). 36 refractor + 36 ticket cells.
Found by the Cultural Gauntlet (#3834 part 1, PR #3907); the failing cells are ledgered in tests/cultural_gauntlet/baseline.txt — a fix removes them (python tests/tools/cultural_gauntlet.py --full --update-baseline).
Activity
#3908 / #3909: the declared code page reaches every source read and t…
#3834 (part 2): the Cultural Gauntlet's India slice -- cp1140, rupee …