U_003F

A strategy which replaces an invalid character sequence with a 1-byte sequence of 0x3f (i.e. character ?) during text to UTF-8 byte transformations, and will replace partial surrogate code points with 1 replacement character during UTF-8 byte to text transformations.

This strategy is reflective of how Kotlin Jvm encodes/decodes UTF-8.

See also