Files
ppsspp/Core
mariobob 8945f6fad4 sceCcc: Stop string conversions at invalid input
When the input starts with something it can't decode, each of the six
string converters returns 0 on the PSP and writes only the terminator
(ccc/convertstring, all six "Invalid data" cases). We decoded on
regardless and wrote replacement or garbage characters for every unit.

Stop at the first invalid character instead: for UTF-8, a byte that can't
start a sequence (UTF8::invalid()); for UTF-16 and Shift-JIS, INVALID from
the decoder. Valid characters the tables can't map still get the error
character, as before.

ccc/convertstring passes now and moves to tests_good.
2026-10-16 22:05:12 +02:00
..
…
2026-10-16 10:59:54 +02:00
2026-10-16 10:59:54 +02:00
2026-10-16 13:27:26 +02:00
2026-10-16 13:27:26 +02:00
2026-10-15 18:27:33 +02:00
2026-10-15 18:27:33 +02:00
…
…