Tag: chinese
-
Post Views: 19 1. The result of preg_split after executing Chinese is garbled. as shown in Figure 1 2. Convert the string to UTF-8 before using preg_split(). u means Unicode (UTF-8) mode, avoiding Chinese character split errors. 3, the split is correct, no more errors.
-
Post Views: 18 1. In PHP, insert the JSON string (the Chinese has been encoded) into MySQL, and the Chinese has been encoded. as shown in Figure 1 2. Try to url decode the entire JSON string directly. Instead of converting JSON to an array, then traversing the array, url decoding each value, and finally encode the array into a…
-
Post Views: 14 1. When requesting the WeChat interface, the return code: 45028, the returned English information: Has No Massend Quota Rid: 6103DF2E-1505BA73-0EB14E1C. as shown in Figure 1 2. The code is implemented as follows 3. The plan to convert the error message: Has No Masssend Quota Rid: 6103DF2E-1505BA73-0EB14E1C is translated as: no group quota. Rid: 6103DF2E-1505BA73-0EB14E1C. as shown in…
-
Post Views: 17 1. Check the current version of phpstorm, help -> about. PHPStorm 2021.1.4. as shown in Figure 1 2. File -> settings -> plugins -> marketplace. Search: Chinese. Select and install: Chinese (Simplified) language pack / Chinese language pack . Chinese language packs will be your IntelliJ IDEA, AppCode, CLion, DataGrip, Goland, PyCharm, PHPStorm, Rubymine, and WebStorm…
-
Post Views: 21 1. Error in Yii 2.0: Malformed UTF-8 Characters, Possibly Incorrectly Encoded. 2. Check the code below 3. Print out $E->GetMessage(), which contains garbled characters. as shown in Figure 1 4. Edit the code, MB_CONvert_encoding — Convert the encoding of characters. The response status code is: 500, and the response body is: “SQLState[HY000][2002]php_network_getaddresses: getaddrinfo failed: I don’t know…