feat(libSceIcu): implement six locale parsing and keyword exports #16490
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16490"
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 hyvvs on 2026-11-06T22:03:01Z.
What
Implements six previously throwing, guest-callable ICU locale C exports:
uloc_getLanguage,uloc_getCountry,uloc_getScript,uloc_getBaseName,uloc_canonicalize, anduloc_getKeywordValue.APS5_VABI, 32-bit lengths/status pointers).U_BUFFER_OVERFLOW_ERROR/U_STRING_NOT_TERMINATED_WARNINGwith bounded writes. Existing 66 unimplemented exports in this inventory remain throwing.libSceIcu.prx.Tested
libSceIcuandguest_icu_locale_core_tests; focused CTestguest_icu_locale_core: 1/1 PASS on the final branch head.-O1 -g -DNDEBUG -fsanitize=address,undefined,ASAN_OPTIONS=detect_leaks=1:halt_on_error=1, UBSan halt-on-error: PASS for source-linked guest regression, no sanitizer errors.libicuuc.so.74) differential: 22,647 input/capacity/keyword cases, zero mismatches on exercised locales, including 600 deterministic synthetic locale combinations. Console/firmware runtime not tested.python core/libs/tests/test_public_headers.py --audit-only: 407 libraries / 30,759 declarations PASS.python -I tools/check_conventions.py --base upstream/main --head HEADPASS; branch diff whitespace check PASS.Checklist
main; no other open PR implements the same functions (checked authored/open ICU PRs #14144, #14340, #14443, #13578 and function-name search).mdfiles or images added to repository (only library technical debt updated)