I'm having problems.
我有问题。
I have a REST API that uses json_encode to output data as JSON. However, sometimes data gets pushed to the API that is not UTF-8 data. And so when trying to output this data, json_encode throws an exception, because it can only handle UTF-8 data.I have a REST AP