The search function sends Chinese content to the background through ajax.

is developed by WeChat Mini Programs and the environment is an Android phone for testing girls. (this is not the case with my own Android phone.)
Chinese input test, but the back end received? (question mark in English).
there is no problem with typing English.

get
http://xxx.com/api/search/?&fileName=%E6%B5%8B%E8%AF%95&page=1&size=10


searchSubmit: function(e) {
    var searchText = e.detail.value.search;
    console.log(searchText);
    if (searchText.length == 0) {
      utils.showError("");
      return;
    }
    var dataUrl = baseUrl + docUrl + "?fileName=" + searchText;
    utils.requestCommon(dataUrl, "GET", {}, this.headerCommon, this.callback);
  },

I don"t know which step went wrong?

Mar.11,2021

the encoding method adopted by Wechat is "ISO-8599-1". Please encode the received content as utf-8 on the server side.

take java as an example:

String param = RequestUtil.getParameter("name");  
String value = new String(param.getBytes("ISO-8859-1"), "UTF-8");
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35bd0-2bfbf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35bd0-2bfbf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?