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
PICTURE SYMBOL 'U' currency mis-sizes the schema: UUU,UU9.99 -> DECIMAL(3, 2) #3910
With CURRENCY SIGN IS 'EUR ' WITH PICTURE SYMBOL 'U', a money field PIC UUU,UU9.99 becomes DECIMAL(3, 2) in the schema and the Spring entity instead of DECIMAL(7, 2). parse_pic_precision only treats Unicode currency characters as floating currency, not the declared symbol letter. The record layout's 43 bytes are right; only the precision is wrong (7 schema 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).
#3834 part 2 (the Cultural Gauntlet's India slice) reproduces this with the rupee: CURRENCY SIGN IS 'INR ' WITH PICTURE SYMBOL 'I', III,II9.99 -> DECIMAL(3, 2) (want 7, 2), and CURRENCY SIGN IS 'Rs' WITH PICTURE SYMBOL 'K', lakh-grouped KK,KK,KK9.99 -> DECIMAL(3, 2) (want 8, 2), in every page and the utf8 control (ledgered as currency_inr|*|schema, currency_rs_lakh|*|schema). So it is any PICTURE SYMBOL, not U alone.
(Note for the rupee: the symbol cannot be R -- IBM and GnuCOBOL reserve it, CR being a PICTURE symbol; GnuCOBOL 3 says "invalid character 'R' in currency symbol".)
Activity
squid-protocol commentedon Sep 27, 2026
#3834 part 2 (the Cultural Gauntlet's India slice) reproduces this with the rupee:
CURRENCY SIGN IS 'INR ' WITH PICTURE SYMBOL 'I',III,II9.99-> DECIMAL(3, 2) (want 7, 2), andCURRENCY SIGN IS 'Rs' WITH PICTURE SYMBOL 'K', lakh-groupedKK,KK,KK9.99-> DECIMAL(3, 2) (want 8, 2), in every page and the utf8 control (ledgered ascurrency_inr|*|schema,currency_rs_lakh|*|schema). So it is any PICTURE SYMBOL, not U alone.(Note for the rupee: the symbol cannot be
R-- IBM and GnuCOBOL reserve it,CRbeing a PICTURE symbol; GnuCOBOL 3 says "invalid character 'R' in currency symbol".)🤖 Generated with Claude Code
#3834 (part 2): lower the gauntlet baseline after #3935 -- 67 left (#…
#3834 (part 2): the Cultural Gauntlet's India slice -- cp1140, rupee …
#3933 / #3910 / #3911: floating currency editing, PICTURE SYMBOL prec…