There is no problem not worth solving, and no technology not worth learning!

Tag: UTF-8



  • Post Views: 31 After switching from Windows to Ubuntu, the prompt ‘Invalid characters detected’ pops up when opening the document I wrote before, and the content is displayed as garbled characters. Here is a record of the effective solution I personally tested, the whole process only needs the mouse to operate. 1. Problems In the Ubuntu 26.04 system, use the…

  • Post Views: 21 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: 16 1. Upload files through FlashFXP: The first episode of Qin Shimingyue is Yinghuo Shouxin. as shown in Figure 1 2. HTTP access:https://www.shuijingwanwq.com/wp-content/uploads/2021/07/秦时明月第一集荧惑守心.mp4response time 404. as shown in Figure 2 3. Log in to the CentOS server based on Putty and enter the directory: /wp-content/uploads/2021/07/. Discovery file: The file name of Yinghu Shouxin .mp4 in the first episode…

  • Post Views: 22 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…

  • Post Views: 20 1. Rename the file name in a directory, its code, as shown in Figure 1 2. Error: rename(e:/wwwroot/avatar/beiji/housen.jpg, e:/wwwroot/avatar/beiji/378477.jpg): ϵͳ�ҳ���ָ�����ļ�� (code: 2), as shown in Figure 2 3. Use the file_exists function to check whether the file exists, if it exists, print 1, if not, print 0, as shown in Figure 3 4. The print result is…

  • Post Views: 15 1. Failed to download the Chinese name file from CentOS 6.5 on FlashFXP failed. The screenshot is as follows: 2. In the options of the site manager, set the character encoding to UTF-8 3. After reconnecting the FTP site, you can successfully download the Chinese name file



👨‍💻 Personal Brand

Wang Shiqiang | PHP & Go Technical Consultant

15+ years of backend development experience specializing in system maintenance, architecture optimization, performance tuning, and Linux administration.

Technical blogger since 2013 with 1,000+ original articles.

Available for consulting, long-term maintenance, and remote collaboration.

👉 About Me & Contact

.env (14) 404 (13) add (17) Aliyun (19) Apache (13) Array (19) browser (14) Cache (13) CentOS (23) chrome (19) command line (13) composer (42) composer.json (22) composer install (13) composer update (14) console (16) Container (25) curl (15) database migration (16) delete (32) Docker (32) Dockerfile (15) ECS (12) environment variable (20) error (24) escape (12) Failed (13) file (16) filter (20) FORMAT (12) function (13) Git (27) GitHub (16) Gitlab (15) Go (36) Go 1.26 (12) Google AdSense (17) GraphQL (24) GraphQL API (14) Gutenberg (14) http (21) https (21) Installation (13) Interface (19) Jenkins (12) Jquery (13) json (24) Laravel (37) Laravel 6 (56) Laravel 9 (25) Lighthouse (17) Lighthouse 5 (14) Linux (17) Migrate (13) Module (17) MySQL (76) MySQL 5.7 (21) Nginx (46) Node.js (12) normalize.css (29) OKX (15) OneinStack (13) PHP (67) php.ini (24) PHP 7.1.12 (22) PHP 7.4 (26) phpmyadmin (15) PhpStorm (24) Polylang (33) postman (18) Query (17) queue (16) Rancher (24) Redis (39) Refactoring (12) require (12) response (13) RESTful (27) RESTful API (23) rules (12) setting (12) Shell (13) Shopify (19) Shopify CLI (12) SQL (24) String (15) TortoiseGit (15) Twenty Twenty-Five (18) Ubuntu (37) update (20) VPN (16) W3 Total Cache (11) Windows 10 (46) WireGuard (26) WordPress (80) WPCode (15) Wstunnel (13) Yii (40) Yii 2 (70) Yii 2.0 (51)

2026 年 7 月
 12345
6789101112
13141516171819
20212223242526
2728293031