fixed #65045: mb_convert_encoding breaks well-formed character.
added test code for #65045.