In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the solution of Chinese garbled code in phpmyadmin, which is very detailed and has certain reference value. Friends who are interested must finish reading it!
The solution to Chinese garbled in phpmyadmin: first find ['zh-gb2312'] to change to [' zh-gb2312-utf-8'], then find ['gb2312' = >' gb2312'] to change to ['gb2312' = >' latin1], and finally save it.
Solution to the occurrence of Chinese garbled codes in phpmyadmin:
Go to the root directory of phpMyAdmin and open the following file:
Libraries/select_lang.lib.php
1. Find the line with "zh-gb2312"
Put
'zh-gb2312'
Change to
'zh-gb2312-utf-8'
Why do you add it like this? That's because the server will filter out languages that don't have "- utf-8". In line 168 of libraries/database_interface.lib.php, according to the English saying, "to prevent confusion," or if you don't change the 'zh-gb2312'' to 'zh-gb2312-utf-8', you can remove the filter. Get rid of that if and OK.
2. Find the line "$mysql_charset_map = array"
Put
'gb2312' = >' gb2312'
Change to
'gb2312' = >' latin1'
Save, OK, enter phpMyAdmin management, select language chinese simplified (zh-gb2312-utf-8)
Remember to choose the language as chinese simplified (zh-gb2312-utf-8)
The above is all the contents of this article entitled "the solution to Chinese garbled codes in phpmyadmin". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.