Ms7 Search
Google 搜尋 翻譯
calendar
« 四月 2025 »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
近期文章
文章分類
網站連結
Syndicate

« | »

phpMyAdmin中文亂碼

2010-01-17 @ 16:50 in PHP, JavaScript, Sql

phpMyAdmin不知道在幾版後就算編碼方式設定在 UTF-8還big5,中文還是會出現亂碼的問題!!若是要在phpmyadmin正常顯示中文,只要改一下phpmyadmin的設定即可
設定檔:phpMyAdmin\libraries\select_lang.lib.php
/* 找到下面的這個變數 *
/ $mysql_charset_map = array(
/* UTF-8 */ 'utf-8′ => 'utf8′ 改成 'utf-8′ => 'latin1′
/* Big5 */ 'big5′ => 'big5′ 改成 'big5′ => 'latin1′

然後將 phpMyAdmin 使用 Language 改成 English 就可以了

 參考:http://poppc.tw/~james/?p=190

迴響

phpMyAdmin中文亂碼 | 豬窩 | 2

Magnificent beat ! I wish to apprentice while
you amend your website, how could i subscribe for a blog website?
The account helped me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear idea

作者 2023 Books @ 17:16, 2023-03-19

phpMyAdmin中文亂碼 | 豬窩 | 2

My family members all the time say that I am killing my time here at web,
but I know I am getting familiarity everyday
by reading such nice articles or reviews.

作者 2023 Books @ 11:13, 2023-03-21
«上一篇   1 2 3 4 5 6
發表迴響
 authimage