Open xroche opened 3 years ago
Fixed utf-8 output corrupted with truncated surrogates pairs.
As an example, the \uDBFF💀 sequence would produce "?" and then a truncated version of "💀" which would result in invalid-UTF-8.
Fixed utf-8 output corrupted with truncated surrogates pairs.
As an example, the \uDBFF💀 sequence would produce "?" and then a truncated version of "💀" which would result in invalid-UTF-8.