How to determine if a String contains invalid encoded characters

前端 未结 10 1331
眼角桃花
眼角桃花 2020-12-02 11:38

Usage scenario

We have implemented a webservice that our web frontend developers use (via a php api) internally to display product data. On the webs

10条回答
  •  我在风中等你
    2020-12-02 11:53

    You might want to include a known parameter in your requests, e.g. "...&encTest=ä€", to safely differentiate between the different encodings.

提交回复
热议问题