feat(libSceCesCs): add the code page 858 profile #10214
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10214"
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?
Imported from boykopovar/AnyPS5. Originally posted by VakzOs on 2026-10-23T14:08:34Z.
What
sceCesRefersUcsProfileCp858threw. It now returns a single-byte profile thatsceCesSbcToUtf8,sceCesUtf8ToSbcand the MBCS context conversions accept, like the 27 profiles added in27c3f6ba2d.Code page 858 is code page 850 with byte
0xD5mapped to the euro sign (U+20AC) instead of U+0131. I compared the new table with the high half of ICU's ibm-858_P100-1997.ucm: all 128 bytes match, and0xD5is the only byte that differs from the existing Cp850 table. Bytes0x00-0x7Fstay unchanged as in the other single-byte profiles, not swapped as in IBM's control mapping. The assumption is recorded indocs/dev/debt/libSceCesCs.md.Tested
Linux, GCC, Release: all 14
guest_ces*tests pass.guest_cesnow runs the single-byte round trip over the new profile and checks Cp858 at0x80,0xD5and0xFF, and Cp850 at0xD5. With U+0131 put back at0xD5in the Cp858 table,guest_cesfails.python3 tools/check_conventions.py --base origin/mainpasses. Not tested on hardware or with a title.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T14:40:03Z.
Review: DISMISSED
Reviewed exact head
9ac21f137592e2e5a3c0bed12c7d4a669ae04c02. The new CP858 high-byte table independently matches this host's CP858 codec for all 128 bytes; hosted conventions pass, and the PR reports the 14 focused CES tests passing. Product jobs are path-skipped.I found concrete integration conflicts that need sequencing under the repository's overlap rule. Pairwise merge previews of this head conflict with:
PendingExports.cppanddocs/dev/debt/libSceCesCs.md;Export.cpp,PendingExports.cpp,SingleByte.hpp,GuestCes.cpp, and the CES debt file;SingleByte.hpp,GuestCes.cpp, and the CES debt file.Please coordinate with those authors on a keep-both landing order, record the agreed dependency/order in this PR, then refresh and rerun the focused CES tests on the combined tree. Current
mainhas advanced 395 commits from the merge base, although it does not itself modify these touched paths.This is an integration request, not a duplicate-work finding; the CP858 getter is distinct. I have not approved until the shared-file order is explicit.