[Solved] HTTP receives the return value using tencoding Utf8 encoding error “no mapping for the Unicode…”

Today, I saw the error message sent by the boss of wumoonlight and the subsequent solutions in the group. I feel that I may encounter it in the future. Record it so that I can’t deal with it in the future. Thank you, boss Guang.

The problem is that some of the data in the return value is encoded in utf8 and some are not. Use tencoding When receiving the return value in utf8 format, an error “no mapping for the Unicode…”

The solution is: replace tencoding.com with tutf8encodeex format UTF8

Similar Posts: