Skip to content

Fix sal encoding-dispatch#488

Open
leginee wants to merge 1 commit into
trunkfrom
Fix-sal-encoding-dispatch
Open

Fix sal encoding-dispatch#488
leginee wants to merge 1 commit into
trunkfrom
Fix-sal-encoding-dispatch

Conversation

@leginee

@leginee leginee commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

This PR is the second out of 3 fixes from test migration. This is about the ISCII encoding has been removed. The removal resulted in a array to enumn mismatch. After the enumn and the array fitted together, some encoding typos appeared.
enumn has been untouched for ABI compatibility on our Interface.

commit message for convenience

Fix sal encoding-dispatch off-by-one (ISCII removal) + ZapfDingbats table bugs

Impl_getTextEncodingData() is a positional array indexed by the ABI-frozen rtl_TextEncoding enum. #i119141 removed the ISCII converter but deleted its array slot with no NULL placeholder, shifting JAVA_UTF8, ADOBE_STANDARD, ADOBE_SYMBOL, PT154 and ADOBE_DINGBATS onto the wrong converter. Restore the NULL slot and add a compile-time size guard.

Wiring ADOBE_DINGBATS correctly surfaced three latent ZapfDingbats table errors (0x6C→U+25CF; reverse range to U+2797; circled-digits reverse start 0xAC); fix all three. Update rtl_textcvt qa: park the now-unimplemented ISCII behind TEST_ISCII_DEVANAGARI, correct the ISCII Windows codepage to 57002.

…able bugs

Impl_getTextEncodingData() is a positional array indexed by the ABI-frozen
rtl_TextEncoding enum. #i119141 removed the ISCII converter but deleted its
array slot with no NULL placeholder, shifting JAVA_UTF8, ADOBE_STANDARD,
ADOBE_SYMBOL, PT154 and ADOBE_DINGBATS onto the wrong converter. Restore the
NULL slot and add a compile-time size guard.

Wiring ADOBE_DINGBATS correctly surfaced three latent ZapfDingbats table
errors (0x6C→U+25CF; reverse range to U+2797; circled-digits reverse start
0xAC); fix all three. Update rtl_textcvt qa: park the now-unimplemented ISCII
behind TEST_ISCII_DEVANAGARI, correct the ISCII Windows codepage to 57002.
@leginee leginee force-pushed the Fix-sal-encoding-dispatch branch from 8121fd3 to 5b2517d Compare June 21, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant